Found 314 bookmarks
Custom sorting
The Gap Strikes Back: Now Stylable | CSS-Tricks
The Gap Strikes Back: Now Stylable | CSS-Tricks
Styling the space between layout items — the gap — has typically required some clever workarounds. But a new CSS feature changes all that with just a few simple CSS properties that make it easy, yet also flexible, to display styled separators between your layout items.
·css-tricks.com·
The Gap Strikes Back: Now Stylable | CSS-Tricks
Easier layout with margin-trim
Easier layout with margin-trim
If you write a lot of CSS, you are familiar with those moments when you aren’t quite sure how to accomplish what you want to accomplish.
·webkit.org·
Easier layout with margin-trim
Reducing CSS complexity with the :is() pseudo-class
Reducing CSS complexity with the :is() pseudo-class
Last week, I finally had a reason to use the newish :is() CSS pseudo-class, and wow is it glorious! Today, I want to show you how it can dramatically reduce selector complexity. Let’s dig in! What :is() does The :is() pseudo-class accepts a comma-separated list of selectors, and can be used to group them together. For example, these two selector strings do the same thing… h1, h2, h3, h4, h5, h6 { font-weight: bold; } :is(h1, h2, h3, h4, h5, h6) { font-weight: bold; } You’re probably look at this and thinking…
·gomakethings.com·
Reducing CSS complexity with the :is() pseudo-class
Pure CSS Halftone Effect in 3 Declarations – Frontend Masters Boost
Pure CSS Halftone Effect in 3 Declarations – Frontend Masters Boost
A halftone is a pattern of dots that vary in size and spacing. It's a printing technique that you normally don't see, but blown up in size, is a cool aesthetic. This is a deep dive on how it can be done in CSS alone, starting quite simply!
·frontendmasters.com·
Pure CSS Halftone Effect in 3 Declarations – Frontend Masters Boost