CSS-Tricks*'s Avatar

CSS-Tricks*

@css-tricks.com.bsky.social

* A website about making websites. https://css-tricks.com

4,225 Followers  |  207 Following  |  166 Posts  |  Joined: 30.10.2024  |  1.9299

Latest posts by css-tricks.com on Bluesky

Preview
A Few Things About the Anchor Element’s href You Might Not Have Known | CSS-Tricks It's easy to take URL superpowers for granted, even if you already have these patterns under your belt.

It's easy to take URL superpowers for granted, even if you already have these patterns under your belt.

@jim-nielsen.com has excellent notes with tons of references... including a neat experiment with JavaScript’s URL constructor.

css-tricks.com/a-few-things...

15.08.2025 14:31 β€” πŸ‘ 19    πŸ” 5    πŸ’¬ 0    πŸ“Œ 1
Preview
Covering hidden=until-found | CSS-Tricks Short story: Slapping hidden=until-found on an element in HTML enables any hidden content within the element to be findable in the browser with in-page search.

I missed the whole hidden=until-found deal until it landed in Firefox 139, and even more recently, Safari Technology Preview 125.

Totally one of those things that looks simple, but gets wayyy more nuanced as you dig in.

css-tricks.com/covering-hid...

15.08.2025 13:05 β€” πŸ‘ 10    πŸ” 2    πŸ’¬ 0    πŸ“Œ 1

had a CSS challenge that would have been GNARLY yesterday and then remembered CSS layers exist now and solved it in +3 lines and no !important hacks

CSS is so good now πŸ’œπŸ’œ @miriam.codes @tabatkins.com fantasai thank you for your work on the layers spec

14.08.2025 16:06 β€” πŸ‘ 58    πŸ” 2    πŸ’¬ 4    πŸ“Œ 0

You're spoiling the re-brand!

14.08.2025 17:11 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
a man in a suit and tie is sitting at a table with a microphone in front of him . Alt: David Letterman at his desk pointing finger guns at the audience with a glib smile.

CSS-Stupid-Animal-Tricks

14.08.2025 15:17 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Preview
On Accessibility Conformance, Design Systems, and CSS "Base" Units | CSS-Tricks My brain can't help but try to make connections between seemingly disparate ideas. And that's what happened yesterday when I read:

On Accessibility Conformance, Design Systems, and CSS β€œBase” Units

css-tricks.com/on-accessibi...

14.08.2025 13:43 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
We Might Need Something Between Root and Relative CSS Units for "Base Elements" | CSS-Tricks I've come to realize that perhaps we need to have a unit between root and relative values. This would bring about a whole new possibility when creating reusable components.

Here's a wild idea from @zellwk.bsky.social: a "base" unit in CSS for inheriting font-related property values between components.

css-tricks.com/we-might-nee...

13.08.2025 13:28 β€” πŸ‘ 8    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
a boy wearing a striped hat and scarf says " i triple dog dare you " Alt: a boy wearing a striped hat and scarf says " i triple dog dare you "
12.08.2025 23:20 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
CSS-Questions | CSS-Tricks CSS-Questions is a mini site where you can test your CSS knowledge with over 100 questions.

OK, what's your score?

css-tricks.com/css-questions/

(Great work, @sunkanmifafowora.bsky.social!)

12.08.2025 15:05 β€” πŸ‘ 7    πŸ” 1    πŸ’¬ 1    πŸ“Œ 1
Preview
Stuff & Nonsense Practical Layout Workshop | CSS-Tricks Web design veteran Andy Clarke is offering a two-hour workshop all about creating practical and creative page layouts this September 18. Register and save a few bucks with a coupon code.

Layout may seem like a solved thing, but how creative can you get with it? How do you make it tell a story?

@allthatmalarkey.bsky.social has a two-hour workshop coming up. And if you've been following his recent work on CSS-Tricks, you know it's worth your time!

css-tricks.com/stuff-nonsen...

11.08.2025 15:29 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Getting Creative With Quotes | CSS-Tricks How do you design block quotes and pull quotes to reflect a brand’s visual identity and help tell its story? Here’s how I do it by styling the HTML blockquote element using borders, decorative quote m...

Mr. @allthatmalarkey.bsky.social on how there are no rules about how long a quote should be, how big it should look, or even how it’s styled.

So, how do you design block quotes and pull quotes to reflect a brand’s visual identity and help tell its story?

css-tricks.com/getting-crea...

11.08.2025 13:53 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
How to Prepare for CSS-Specific Interview Questions | CSS-Tricks Get advice answering a set of 10 CSS-related questions you likely will encounter in front-end interviews.

The most likely CSS-related questions you’ll get in a front-end interview may not exactly be the *best* ones.

css-tricks.com/how-to-prepa...

08.08.2025 13:46 β€” πŸ‘ 14    πŸ” 1    πŸ’¬ 2    πŸ“Œ 0
There's a new stretch keyword in CSS?
YouTube video by Winging It There's a new stretch keyword in CSS?

The other day @davatron5000.bsky.social shared a link to the new `stretch` keyword in CSS – and I saw a lot of questions about how it's different from 100% (or 100vh when doing full-screen layouts). So I made a quick video to show how these all work! #CSS

youtu.be/iZZXOuLxagE

07.08.2025 16:40 β€” πŸ‘ 68    πŸ” 17    πŸ’¬ 8    πŸ“Œ 2
Preview
Bringing Back Parallax With Scroll-Driven CSS Animations | CSS-Tricks 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 sc...

Bringing Back Parallax With Scroll-Driven CSS Animations by Blake Lundquist

css-tricks.com/bringing-bac...

06.08.2025 13:41 β€” πŸ‘ 12    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

β€œThere are only two words you have to remember.

Just two words.

Sufficient contrast.

And you’re set for accessibility (design-wise, at least).

That’s it.”

04.08.2025 15:04 β€” πŸ‘ 7    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0
Preview
Thinking Deeply About Theming and Color Naming | CSS-Tricks 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.

From @zellwk.bsky.social:

β€œColors create differentiation; differentiation creates distinction; distinction creates identity.”

css-tricks.com/thinking-dee...

04.08.2025 14:13 β€” πŸ‘ 21    πŸ” 3    πŸ’¬ 0    πŸ“Œ 2
Preview
radial-gradient() | CSS-Tricks The radial-gradient() functions creates a circular or elliptical color gradient starting from a center point and spreading outward.

Everything you ever wanted, or needed, to know about radial gradients, courtesy of @monknow.bsky.social β€” even digging into those tricky hue interpolation and radial-extent keywords.

css-tricks.com/almanac/func...

css-tricks.com/almanac/func...

31.07.2025 13:47 β€” πŸ‘ 13    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
Keeping Article Demos Alive When Third-Party APIs Die | CSS-Tricks 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?

This isn’t exactly a β€œfun” thing but is definitely one of those considerations you run into when relying on third-party services.

css-tricks.com/keeping-arti...

30.07.2025 13:47 β€” πŸ‘ 7    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
How to Discover a CSS Trick | CSS-Tricks Do we invent or discover CSS tricks? Lee Meyer discusses how creative limitations, recursive thinking, and unexpected combinations lead to his most interesting ideas.

Love this line:

β€œBeing asked β€˜Why would you do that in CSS when you could just use JavaScript?’ is like if you asked me: β€˜Why would you write a poem when it’s easier to write prose?’

css-tricks.com/how-to-disco...

25.07.2025 13:51 β€” πŸ‘ 20    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
Atomic Design Certification Course | CSS-Tricks 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

I've preordered @bradfrost.com's Atomic Design course and know it's going to be just plain awesome.

css-tricks.com/atomic-desig...

24.07.2025 16:17 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Heck yeah for `animation-composition: add`

23.07.2025 13:23 β€” πŸ‘ 9    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
A First Look at the Interest Invoker API (for Hover-Triggered Popovers) | CSS-Tricks 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 infor...

A First Look at the Interest Invoker API (for Hover-Triggered Popovers) by @dxnny.fun

css-tricks.com/a-first-look...

23.07.2025 12:40 β€” πŸ‘ 7    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

Frontend Developers:
Do you have a higher education degree?

Is it related to Frontend?

21.07.2025 14:31 β€” πŸ‘ 35    πŸ” 4    πŸ’¬ 73    πŸ“Œ 5
Preview
A Primer on Focus Trapping | CSS-Tricks 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 bec...

A Primer on Focus Trapping by @zellwk.bsky.social

css-tricks.com/a-primer-on-...

21.07.2025 13:18 β€” πŸ‘ 14    πŸ” 4    πŸ’¬ 1    πŸ“Œ 0
Build custom CSS Layouts in seconds Build your features without worrying about layouts. Stay in your flow and complete your work faster

Finally just gonna be brave and release this openly: splendidlabz.com/solutions/la...

21.07.2025 11:17 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
Getting Creative With Versal Letters | CSS-Tricks 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.

"Getting Creative With Versal Letters" by @allthatmalarkey.bsky.social

I had to look up "versal" when I saw it in Andy's draft. πŸ€“

css-tricks.com/getting-crea...

18.07.2025 16:16 β€” πŸ‘ 7    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
Getting Clarity on Apple's Liquid Glass | CSS-Tricks 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 co...

Getting Clarity on Apple’s Liquid Glass

A set of notes getting into the origins, documentation, opinions, and experiments of Liquid Glass.

css-tricks.com/getting-clar...

17.07.2025 13:25 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Links? Links! - Infrequently Noted Alex Russell on browsers, standards, and the process of progress.

I spent hours and hours trawling through the sites of some of the world's best web developers, and despite the horrors I regularly experience in my daily work in Big JavaScript Territory, what I saw left me hopeful:

infrequently.org/2025/07/links/

16.07.2025 23:17 β€” πŸ‘ 84    πŸ” 19    πŸ’¬ 6    πŸ“Œ 4
Preview
What I Took From the State of Dev 2025 Survey | CSS-Tricks State of Devs 2025 survey results are out! Sunkanmi Fafowora highlights a few key results about diversity, health, and salaries.

What I Took From the State of Dev 2025 Survey by @sunkanmifafowora.bsky.social

css-tricks.com/what-i-took-...

16.07.2025 13:06 β€” πŸ‘ 3    πŸ” 2    πŸ’¬ 0    πŸ“Œ 2
Preview
inset() | CSS-Tricks The CSS inset() function allows you to create rectangles to use with the shape-outside, clip-path, and offset-path properties.

A couple of CSS shape functions have been added to the ol’ Almanac, thanks to some heavy lifting from @undeadinstitute.bsky.social:

First up, inset():
css-tricks.com/almanac/func...

Aaaaaand there’s also xywh():
css-tricks.com/almanac/func...

15.07.2025 13:09 β€” πŸ‘ 10    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

@css-tricks.com is following 20 prominent accounts