Found 10518 bookmarks
Newest
sugarcube
sugarcube
Design tokens, generated CSS, and optional components. Build front ends on strong, reusable foundations.
·sugarcube.sh·
sugarcube
Sprites on the Web • Josh W. Comeau
Sprites on the Web • Josh W. Comeau
In game development, it’s common to use spritesheets for animation, but this technique isn’t as widely used on the web. Which is a shame, because we can do some pretty cool stuff with sprites! In this post, we’ll share the niche CSS function you can use to leverage this technique, and explore some of the potential use cases.
·joshwcomeau.com·
Sprites on the Web • Josh W. Comeau
Modern CSS Code Snippets | modern.css
Modern CSS Code Snippets | modern.css
A collection of modern CSS code snippets. Every old CSS hack next to its clean, native replacement, side by side.
·modern-css.com·
Modern CSS Code Snippets | modern.css
The Browser Hates Surprises
The Browser Hates Surprises
To avoid page loading jank, there are things we can do to avoid content from shifting around, even if repainting is still necessary.
·frontendmasters.com·
The Browser Hates Surprises
If and Not Components for Astro
If and Not Components for Astro
How I built If and Not components for Astro to replace JSX's awkward inline conditions with cleaner, more readable conditional rendering.
·zellwk.com·
If and Not Components for Astro
Solving Shrinkwrap: New Experimental Technique
Solving Shrinkwrap: New Experimental Technique
In this article, I present my new technique for solving a CSS problem that was deemed impossible — true shrinkwrapping of an element with auto-wrapped content. By using anchor positioning and scroll-driven animations, we can adjust our element’s outer dimensions by measuring its inner contents, demonstrating that for many cases this can already work and might unlock a future native feature.
·kizu.dev·
Solving Shrinkwrap: New Experimental Technique
CSS Bar Charts Using Modern Functions | CSS-Tricks
CSS Bar Charts Using Modern Functions | CSS-Tricks
CSS-only bar charts are one of those things we've tackled a bunch of times in different ways. But how can modern CSS features finally make it not only trivial, but fun?
·css-tricks.com·
CSS Bar Charts Using Modern Functions | CSS-Tricks
ilamy Calendar - React Calendar Component with Tailwind CSS & shadcn/ui | Full Calendar Alternative
ilamy Calendar - React Calendar Component with Tailwind CSS & shadcn/ui | Full Calendar Alternative
The ultimate React calendar component built with TypeScript, Tailwind CSS, and shadcn/ui. A modern full calendar alternative with drag-and-drop, resource scheduling, recurring events, and multi-view support. Perfect for React, Next.js, and Astro applications. Headless UI calendar with complete customization.
·ilamy.dev·
ilamy Calendar - React Calendar Component with Tailwind CSS & shadcn/ui | Full Calendar Alternative
Bearnie - Build Your Own Component Library
Bearnie - Build Your Own Component Library
A set of accessible components that you can customize, extend, and build on. Start here then make it your own. Open Source. Open Code. Use this to build your own component library.
·bearnie.dev·
Bearnie - Build Your Own Component Library