Delicious

Delicious

MotifyX
MotifyX
Create stunning background patterns for your web projects. Choose from geometric, futuristic, matrix, and code-inspired designs with live customization.
·jatin-yadav05.github.io·
MotifyX
Style-observer: JS to observe CSS property changes, for reals • Lea Verou
Style-observer: JS to observe CSS property changes, for reals • Lea Verou
I cannot count the number of times in my career I wished I could run JS in response to CSS property changes, regardless of what triggered them: media queries, user actions, or even other JS. Use cases abound. Here are some of mine: Implement higher level custom properties in components, where one custom property changes multiple others in nontrivial ways (e.g. a --variant: danger that sets 10 color tokens). Polyfill missing CSS features Change certain HTML attributes via CSS (hello --aria-expanded!) Set CSS properties based on other CSS properties without having to mirror them as custom properties The most recent time I needed this was to prototype an idea I had for Web Awesome, and I decided this was it: I’d either find a good, bulletproof solution, or I would build it myself. Spoiler alert: Oops, I did it again
·lea.verou.me·
Style-observer: JS to observe CSS property changes, for reals • Lea Verou
Build Dynamic, Accessible Tabs with Alpine.js
Build Dynamic, Accessible Tabs with Alpine.js
Discover how to create a fully functional tabs component using Alpine.js. Learn key features, accessibility tips, and enhance your web development skills.
·stevenroland.com·
Build Dynamic, Accessible Tabs with Alpine.js
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
Mapping with Leaflet
Mapping with Leaflet
Leaflet.js is a free open-source mapping library. We'll look at how to use it to create a basic map with location points of cats up for adoption.
·frontendmasters.com·
Mapping with Leaflet
Web Awesome
Web Awesome
Build better with Web Awesome, the open source library of web components from Font Awesome.
·backers.webawesome.com·
Web Awesome
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