Found 10528 bookmarks
Newest
CSS @function + CSS if() = 🤯
CSS @function + CSS if() = 🤯
Support for Nested Container Queries and the CSS if() function inside CSS Custom Functions make @function very powerful.
·bram.us·
CSS @function + CSS if() = 🤯
The What If Machine: Bringing The "Iffy" Future Of CSS Into The Present | CSS-Tricks
The What If Machine: Bringing The "Iffy" Future Of CSS Into The Present | CSS-Tricks
My thesis for today's article offers further reassurance that inline conditionals are probably not the harbinger of the end of civilization: I reckon we can achieve the same functionality right now with style queries, which are gaining pretty good browser support.
·css-tricks.com·
The What If Machine: Bringing The "Iffy" Future Of CSS Into The Present | CSS-Tricks
Toe Dipping Into View Transitions | CSS-Tricks
Toe Dipping Into View Transitions | CSS-Tricks
The View Transitions API is more a set of features than it is about any one particular thing. And it gets complex fast. But in this post, we’ll cover a couple ways to dip your toes into the waters without having to dive in head-first.
·css-tricks.com·
Toe Dipping Into View Transitions | CSS-Tricks
Background Image Remover
Background Image Remover
Remove image backgrounds automatically in seconds with just one click. Don't spend hours manually doing it yourself.
·bg.addy.ie·
Background Image Remover
Organizing Design System Component Patterns With CSS Cascade Layers | CSS-Tricks
Organizing Design System Component Patterns With CSS Cascade Layers | CSS-Tricks
I enjoy organizing code and find cascade layers a fantastic way to organize code explicitly as the cascade looks at it. The neat part is, that as much as it helps with "top-level" organization, cascade layers can be nested, which allows us to author more precise styles based on the cascade and inheritance.
·css-tricks.com·
Organizing Design System Component Patterns With CSS Cascade Layers | CSS-Tricks
Relearning line height
Relearning line height
Changing what I thought I knew about typesetting.
·blog.damato.design·
Relearning line height
Compiling CSS With Vite And Lightning CSS | CSS-Tricks
Compiling CSS With Vite And Lightning CSS | CSS-Tricks
Are partials the only thing keeping you writing CSS in Sass? With a little configuration, it's possible to compile partial CSS files without a Sass dependency. Ryan Trimble has the details.
·css-tricks.com·
Compiling CSS With Vite And Lightning CSS | CSS-Tricks
Tabs, Tabs, Tabs
Tabs, Tabs, Tabs
A how to guide on building an accessible tab component using Web Components.
·madcampos.dev·
Tabs, Tabs, Tabs
Pure CSS Mixin for Displaying Values of Custom Properties
Pure CSS Mixin for Displaying Values of Custom Properties
Do you write CSS? Do you use custom properties with calculations? Do you want to preview their values while you’re debugging them? What if you could do so by setting just one additional custom property? Without any JS? In this article, I present a native CSS mixin that will output various values as pseudo-elements.
·kizu.dev·
Pure CSS Mixin for Displaying Values of Custom Properties
The Complex But Awesome CSS border-image Property — Smashing Magazine
The Complex But Awesome CSS border-image Property — Smashing Magazine
The CSS `border-image` property is one of those properties you undoubtedly know exists but may not have ever reached for. In this article, Temani Afif demonstrates different approaches for using `border-image` to create clever decorative accents and shapes.
·smashingmagazine.com·
The Complex But Awesome CSS border-image Property — Smashing Magazine
Curated Website Section Designs | Home
Curated Website Section Designs | Home
Unsection is a website that offers inspiration for various website sections. It is a good resource for finding the best website section for your website.
·unsection.com·
Curated Website Section Designs | Home
Positioning Text Around Elements With CSS Offset | CSS-Tricks
Positioning Text Around Elements With CSS Offset | CSS-Tricks
When it comes to positioning elements on a page, including text, there are many ways to go about it in CSS — the literal position property with corresponding inset-* properties, translate, margin, anchor() (limited browser support at the moment), and so forth. The offset property is another one that belongs in that list.
·css-tricks.com·
Positioning Text Around Elements With CSS Offset | CSS-Tricks