Front-End RoundupGathered from around the web

Publication

CSS-Tricks

#css #html

Visit css-tricks.com

Recent from CSS-Tricks

Using light-dark() without getting caught out

I honestly hadn't thought about "getting caught" by light-dark() — particularly when leaning heavily on it for this site — but Martin Underhill explains the user and rendering considerations, making me reflect on my choices as well. Using…

CSS-Tricks

RSS Club: Preview Art-Directed Scrollytelling Article

Hey folks! I’m just so dang excited about this little project I’m working on with long-time author Lee Meyer that I had to share it with you before it goes out. We’re going full 2013-meets-2026 with an art-directed piece that … RSS Club…

CSS-Tricks

Style Queries as Conditional Modifiers

Where style queries shine is when the condition and the styles need to live in different places, or when one condition needs to affect several things at once: components that keep working, and adapt sensibly, no matter where they end up…

CSS-Tricks

Using Fallbacks for a Robust Front-End

It’s important to use fallbacks to build a robust front end, either to quietly and discreetly avoid the error or to communicate it to our users. Using Fallbacks for a Robust Front-End originally handwritten and published with love on…

CSS-Tricks

Andy Clarke answers six questions about Standout Designs for the Web

Web designer, author, and Stuff & Nonsense founder Andy Clarke has released Standout Designs for the Web, a new e-book that encourages designers to move beyond familiar templates and conventional layouts to create more personality-driven…

CSS-Tricks

When Everything Has Changed, What Do We Do Next?

It’s been a… year, huh? I think the most common emoji I’ve seen this year is “Face with Bags Under Eyes” (🫩) and that says a lot. One thing is for sure: the industry we make a living in is … When Everything Has Changed, What Do We Do Next?…

CSS-Tricks

Staggering Scroll-Driven Animations with animation-range-start

Imagine a CSS karaoke machine that displays a ball bouncing on text that incrementally highlights, based on progress through via speech recognition and running that kind of animation as a single predictable, holistic effect driven by one…

CSS-Tricks

10 Big Ol’ 2027 Black Friday Deals

A big ol' roundup of Black Friday deals on front-end courses from the best independent publishers and educators in the business. 10 Big Ol’ 2027 Black Friday Deals originally handwritten and published with love on CSS-Tricks. You should…

CSS-Tricks

Beyond 12 Columns: Designing Layouts With Personality

Too many websites look alike. They use familiar layouts, repeat the same patterns, and often leave little impression once you’ve moved on. Andy Clarke explores how understanding a company’s story can lead to more distinctive designs, using…

CSS-Tricks

CSS Optimization: Is Using Declarations Just Once (UDJO) Still Effective Today?

Is the technique inspired by the DRY principle by identifying and reducing (if not eliminating) CSS declaration repetition still a relevant optimization strategy? CSS Optimization: Is Using Declarations Just Once (UDJO) Still Effective…

CSS-Tricks

RSS Club: CSS-Tricks Redesign Preview

Hey you wonderful RSS subscribers! We just soft-pushed a site redesign and wanted to give ya'll the first heads-up. A full write-up is coming but here are the high-level details. RSS Club: CSS-Tricks Redesign Preview originally handwritten…

CSS-Tricks

Taming Typography: Building a Modern CSS Reset

Stu created tidy-typography.css: a style reset for taming typography with modern CSS features for everything from fluid typography and vertical rhythm, to hyphens and variable fonts. Taming Typography: Building a Modern CSS Reset originally…

CSS-Tricks

Re-Implementing :nth-child() With Modern CSS

Combining :nth-child with style queries and sibling-index() to conditionally select child elements. Re-Implementing :nth-child() With Modern CSS originally handwritten and published with love on CSS-Tricks. You should really get the…

CSS-Tricks

What’s!important #20: GTA 6 Scroll Effects, Scrollspies, random()

This is the final issue of What’s!important on CSS-Tricks.com. The good news is that it’s coming back in an expanded form as the CSS-Tricks newsletter. I had ya there for a second, didn’t I? Sorry, I couldn’t decide whether to trick or…

CSS-Tricks

What’s!important #19: CSS Refraction Effects, Scroll State Queries, @custom-media, and More

We’re back! Don't worry, this isn’t a trick (despite what our name suggests!). However, due to the hiatus, we're also a little behind. That’s why this issue of What’s!important is absolutely stacked. All killer, no filler. Here's what you…

CSS-Tricks