Remove link
Remove Code Remove Systems Remove Workshop
article thumbnail

Cookieless Alternative To Embed HTML, CSS And JS Code Snippets

Smashing Magazine

Cookieless Alternative To Embed HTML, CSS And JS Code Snippets. Cookieless Alternative To Embed HTML, CSS And JS Code Snippets. At the same time, we want to have an interactive website with comments, polls, videos, code examples, and many more. Deploy the code example with your favorite hosting provider (e.g. Get Started.

Code 111
article thumbnail

Creating Custom Emmet Snippets In VS Code

Smashing Magazine

Creating Custom Emmet Snippets In VS Code. Creating Custom Emmet Snippets In VS Code. Until recently, I would just copy and paste the boilerplate whenever I needed it, but I’ve decided to improve my workflow by adding it as a snippet to VS Code — the editor of my choice. Snippets And Abbreviations In Visual Studio Code.

Code 102
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Improving JavaScript Bundle Performance With Code-Splitting

Smashing Magazine

Improving JavaScript Bundle Performance With Code-Splitting. Improving JavaScript Bundle Performance With Code-Splitting. It’s a common misconception that the code which is produced by the framework build tools (Webpack, for example) is fully optimized and cannot be improved upon any further. The answer lies in code-splitting.

Code 101
article thumbnail

Using HSL Colors In CSS

Smashing Magazine

Usually, we use hexadecimal color codes (hex colors) which are fine, but they have a couple of issues: They are limiting; They’re hard to understand from reading them. Adding on that, it’s not easy to guess what color is from looking at the hex code. On design systems, CSS/JS and UX. Jump to online workshops ?.

Design 145
article thumbnail

Building A Dynamic Header With Intersection Observer

Smashing Magazine

The above code example shows the default values for both rootMargin and threshold. In his online workshop on Building Modern HTML Emails , Rémi Parmentier will show how to code bulletproof, responsive HTML emails that work well in Gmail, Apple Mail, Yahoo and Outlook today. Jump to the workshop ?. Online, and live.

Code 145
article thumbnail

Developer Decisions for Building Flexible Components

Smashing Magazine

In this article, we’ll walk through the process of taking a seemingly simple design for a text-and-media component and deciding how best to translate it into code, keeping in mind the needs of both users and content authors. We’re not going to delve into how to code it — rather, the factors that will determine our development decisions.

article thumbnail

Simplifying Form Styles With `accent-color`

Smashing Magazine

I don’t know about you, but I love it when new CSS properties arrive that make our daily lives as developers simpler and enable us to remove a whole lot of redundant code. See the Pen [Old skool custom checkbox styling]([link] by Michelle Barker. See the Pen [accent-color – showing two different colours]([link] by Michelle Barker.

Media 136