40
Articles
8月8日 23:02
Last updated
How to Prepare for CSS-Specific Interview Questions

How to Prepare for CSS-Specific Interview Questions

Get advice answering a set of 10 CSS-related questions you likely will encounter in front-end interviews.

CSS-Tricks
framework tool ui
Bringing Back Parallax With Scroll-Driven CSS Animations

Bringing Back Parallax With Scroll-Driven CSS Animations

Parallax is a pattern in which different elements of a webpage move at varying speeds as the user scrolls, creating a three-dimensional, layered appearance. It once required JavaScript. Now we have scroll-driven animations in CSS, which is free from the main-thread blocking that can plague JavaScript animations.

CSS-Tricks
css tool ui
Thinking Deeply About Theming and Color Naming

Thinking Deeply About Theming and Color Naming

Today, I want to discuss a couple of patterns for naming color palettes that the community is using, and how I propose we can improve, so we achieve both flexibility and beauty.

CSS-Tricks
css tool ui
Keeping Article Demos Alive When Third-Party APIs Die

Keeping Article Demos Alive When Third-Party APIs Die

Is there a way to build demos that do not break when the services they rely on fail? How can we ensure educational demos stay available for as long as possible?

CSS-Tricks
api tool
Making a Masonry Layout That Works Today

Making a Masonry Layout That Works Today

I went on to figure out how make masonry work today with other browsers. I'm happy to report I've found a way — and, bonus! — that support can be provided with only 66 lines of JavaScript.

CSS-Tricks
tool ui
How to Discover a CSS Trick

How to Discover a CSS Trick

Do we invent or discover CSS tricks? Lee Meyer discusses how creative limitations, recursive thinking, and unexpected combinations lead to his most interesting ideas.

CSS-Tricks
css tool
Atomic Design Certification Course

Atomic Design Certification Course

Brad Frost introduced the "Atomic Design" concept wayyyy back in 2013. He even wrote a book on it. And we all took notice, because that term has been part of

CSS-Tricks
framework tool ui
A First Look at the Interest Invoker API (for Hover-Triggered Popovers)

A First Look at the Interest Invoker API (for Hover-Triggered Popovers)

Chrome 139 is experimenting with Open UI’s proposed Interest Invoker API, which would be used to create tooltips, hover menus, hover cards, quick actions, and other types of UIs for showing more information with hover interactions.

CSS-Tricks
tool ui
A Primer on Focus Trapping

A Primer on Focus Trapping

Focus trapping is about managing focus within an element, such that focus always stays within it. The whole process sounds simple in theory, but it can quite difficult to build in practice, mostly because of the numerous parts to you got to manage.

CSS-Tricks
tool ui
Getting Creative With Versal Letters

Getting Creative With Versal Letters

A versal letters is a typographic flourish found in illuminated manuscripts and traditional book design, where it adds visual interest and helps guide a reader’s eye to where they should begin.

CSS-Tricks
css tool ui
Getting Clarity on Apple’s Liquid Glass

Getting Clarity on Apple’s Liquid Glass

Gathered notes on Liquid Glass, Apple’s new design language that was introduced at WWDC 2025. These links are a choice selection of posts and resources that I've found helpful for understanding the context of Liquid Glass, as well as techniques for recreating it in code.

CSS-Tricks
framework tool ui
What I Took From the State of Dev 2025 Survey

What I Took From the State of Dev 2025 Survey

State of Devs 2025 survey results are out! Sunkanmi Fafowora highlights a few key results about diversity, health, and salaries.

CSS-Tricks
api tool
Setting Line Length in CSS (and Fitting Text to a Container)

Setting Line Length in CSS (and Fitting Text to a Container)

The many ways to juggle line length when working with text... including two proposed properties that could make it easier in the future.

CSS-Tricks
css tool
Scroll-Driven Sticky Heading

Scroll-Driven Sticky Heading

I was playing around with scroll-driven animations, just searching for all sorts of random things you could do. That’s when I came up with the idea to animate main headings and, using scroll-driven animations, change the headings based on the user’s scroll position.

CSS-Tricks
framework tool ui