CSS-Tricks*'s Avatar

CSS-Tricks*

@css-tricks.bsky.social

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

4,636 Followers  |  216 Following  |  266 Posts  |  Joined: 30.10.2024  |  1.7934

Latest posts by css-tricks.bsky.social on Bluesky

Video thumbnail

By default, the new ::search-text pseudo (Chrome 144) matches are yellow while the current target (::search-text:current) is orange, but ::search-text enables us to change that. (via @dxnny.fun )

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

28.01.2026 15:15 β€” πŸ‘ 4    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

πŸ“ New CSS article!

First one of the year, and as usual, plenty of modern CSS features.

If you want to have an overview of how "programming with CSS" looks in 2026, read it πŸ‘‡

23.01.2026 19:31 β€” πŸ‘ 15    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0
Preview
hue-rotate() | CSS-Tricks TheΒ hue-rotate()Β function rotates the color of an element and its content to a specified hue on the color wheel.

It's easy to forget that the CSS hue-rotate() function not only works on background colors, but also text color, background images, and even box shadows!

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

27.01.2026 16:04 β€” πŸ‘ 7    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
There is No Need to Trap Focus on a Dialog Element | CSS-Tricks Accessibility advice around modals have commonly taught us to trap focus within the modal. Upon further research, it seems like we no longer need to trap focus within the (even in modal mode).

There is No Need to Trap Focus on a Dialog Element by @zellwk.bsky.social

css-tricks.com/there-is-no-...

26.01.2026 15:05 β€” πŸ‘ 10    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

A while back, @css-only.dev tacked a repeating grid of hexagon shapes. Well, he's updated it with modern CSS features that result in fewer magic numbers. And it's impressive!

css-tricks.com/responsive-h...

23.01.2026 14:46 β€” πŸ‘ 30    πŸ” 4    πŸ’¬ 0    πŸ“Œ 1

Let's do another post together!

22.01.2026 21:08 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Layoutit Grid: Learning CSS Grid Visually With a Generator | CSS-Tricks Layoutit Grid is an interactive open source CSS Grid generator. It lets you draw your designs and see the code as you go. You can interact with the code, add

By the way, grid.layoutit.com is still a nice tool to learn how CSS grid works by playing, even if you aren't coding them by hand lately. The topic of my only contribution to @css-tricks.bsky.social :)

22.01.2026 19:08 β€” πŸ‘ 13    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

It does indeed. But @dxnny.fun has a really nice idea to use it with the relative color syntax to enforce contrast that we'll publish soon and share out.

That said, yeah... ideally we'd leave that styling alone.

21.01.2026 18:49 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
New in Chrome 144 Β |Β  Blog Β |Β  Chrome for Developers Find-in-page highlights, a new geolocation element, the Temporal API, and more.

Chrome 144 is the first to support ::search-text, a pseudo-element for selecting find-in-page text. We've been poking at it and will share more soon, but here are the release notes for now:

developer.chrome.com/blog/new-in-...

21.01.2026 17:51 β€” πŸ‘ 7    πŸ” 1    πŸ’¬ 0    πŸ“Œ 1

Ooo, nice catch! Was actually working earlier on an entry for view-timeline-inset where that connection was made but didn't think to update animation-range. Thanks a bunch!

20.01.2026 17:13 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

A few noteworthy new additions to the CSS Almanac...

animation-range:
css-tricks.com/almanac/prop...

view-transition-class:
css-tricks.com/almanac/prop...

superellipse():
css-tricks.com/almanac/func...

Props to @undeadinstitute.bsky.social, @sunkanmifafowora.bsky.social and Saleh Mubasher!

20.01.2026 16:47 β€” πŸ‘ 7    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0
Preview
HTTP Archive 2025 Web Almanac | CSS-Tricks I love me some good web research reports. I'm a sucker for them. HTTP Archive's Web Almanac is one report I look forward to every year, and I know I'm not

Haven't taken the time to digest everything, of course, but The @httparchive.org's 2025 Web Almanac is now out. Dig in!

css-tricks.com/http-archive...

16.01.2026 17:32 β€” πŸ‘ 13    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
"I Heart CSS" DailyDev Squad | CSS-Tricks If you're reading this, chances are you already have some sort of way that you're following when we publish new content, whether that's RSS, Bluesky,

A lot of folks like @dailydev.bsky.social and, if that's you, we have a couple of ways you can get our stuff there.

css-tricks.com/i-heart-css-...

16.01.2026 14:50 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Firefox 147 ships view transition types and anchor positioning, so both are now supported in all browsers meaning... BASELINE! ⭐️

developer.mozilla.org/en-US/docs/M...

15.01.2026 17:46 β€” πŸ‘ 15    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
What’s !important #3: Popover Context Menus, @scope, New Web Platform Features, and More | CSS-Tricks The developer community hasn’t wasted any time kicking off 2026 with some really great articles, demos, and insights. Firefox 147 and Chrome 144 also shipped, and while they’re not jam-packed with fea...

All the important front-end happenings you may have missed the past couple weeks in one place:

css-tricks.com/whats-import...

15.01.2026 16:53 β€” πŸ‘ 13    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Really good tip for an easy gotcha using nth-child. Safari's supported this for a long while, but Firefox and Chrome are now on board as well.

More info in the ol' Almanac, of course!

css-tricks.com/almanac/pseu...

15.01.2026 15:13 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Bright candy gradient ghost buttons.

Bright candy gradient ghost buttons.

Same buttons in various stages of hover, when the filling content-box get XOR-ed with the text.

Same buttons in various stages of hover, when the filling content-box get XOR-ed with the text.

A little thing: candy 🍬 ghost πŸ‘» buttons, 3 techniques in one @codepen.io demo
codepen.io/thebabydino/...

Detailed explanation of the how behind in this @css-tricks.bsky.social post css-tricks.com/css-ing-cand...

Bonus: a hover animated, Chrome-only version codepen.io/thebabydino/...

#CSS

14.01.2026 13:56 β€” πŸ‘ 21    πŸ” 4    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

Loving @codepen.io's new slideVars tool! Makes interactive demos ridiculously easy.

Super work, @chriscoyier.net and team!

css-tricks.com/playing-with...

14.01.2026 15:04 β€” πŸ‘ 22    πŸ” 4    πŸ’¬ 1    πŸ“Œ 0
Preview
Postcard From Web Directions Dev Summit, 2025 | CSS-Tricks Lee Meyer recently spoke at Web Directions Summit 2025. This is his experience, not only speaking at the event, but experiencing the event through the lens of anxiety and imposter syndrome.

Mr. Lee Meyer took his scrollytelling experiments on tour when he spoke at @webdirections Dev Summit. Get the slides, but also his storytelling about the scrollytelling.

css-tricks.com/postcard-fro...

12.01.2026 14:56 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
animation-range | CSS-Tricks The CSS animation-range property lets you control how a view timeline animation works, setting exactly when and where the animation starts and stops. You can

Have you noticed that the animation-range property syntax looks like it takes 4 values... but it's really just 2? John Rhea clarifies that nicely here:

css-tricks.com/almanac/prop...

09.01.2026 16:26 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1

css-tricks.com/rss

07.01.2026 15:21 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

What? Style an element *while* it's being dragged? @sunkanmifafowora.bsky.social explains how it could become a thing in the future with :drag and ::dragged pseudos.

css-tricks.com/future-css-d...

07.01.2026 15:20 β€” πŸ‘ 16    πŸ” 3    πŸ’¬ 0    πŸ“Œ 1

What are your favorite css/front-end blogs and publications?

06.01.2026 19:42 β€” πŸ‘ 20    πŸ” 7    πŸ’¬ 10    πŸ“Œ 0
Preview
Thank You (2025 Edition) | CSS-Tricks This is the best job I've had in my life and it's only possible because you keep showing up each day to read, learn, share, and discuss all-things-front-end (and a little CSS, of course) with us.

Thank you (yes, you) for learning with us this past year β€” and every year since 2007.

We're closing shop for the holidays and can't wait to pick things back up with you in 2026!

css-tricks.com/thank-you-20...

23.12.2025 15:53 β€” πŸ‘ 15    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A blue link that reads Next Level. The extreme edges of the link are zoomed in focusing on a minor bit of gap between the first and last characters and the edges of the link's content box.

A blue link that reads Next Level. The extreme edges of the link are zoomed in focusing on a minor bit of gap between the first and last characters and the edges of the link's content box.

Here's one of those super duper minor details that can make a designer's eyes water.

css-tricks.com/text-decorat...

22.12.2025 14:44 β€” πŸ‘ 12    πŸ” 1    πŸ’¬ 0    πŸ“Œ 1
a Raycast 'window' with the search term of 'color-mix'. Below Is a side bar of results for what pages on css tricks has the term 'color-mix'. In a larger column to the right of the results is a preview of the selected result (css color functions) with the open graph image, and a short description of the page.

a Raycast 'window' with the search term of 'color-mix'. Below Is a side bar of results for what pages on css tricks has the term 'color-mix'. In a larger column to the right of the results is a preview of the selected result (css color functions) with the open graph image, and a short description of the page.

wanna be able to search @css-tricks.bsky.social before opening a browser window?

This @raycast.com plug is pretty neat!

www.raycast.com/j3lte/css-tr...

20.12.2025 13:12 β€” πŸ‘ 9    πŸ” 1    πŸ’¬ 2    πŸ“Œ 0
Preview
Masonry Layout is Now grid-lanes | CSS-Tricks It's settled! A new CSS display property keyword called grid-lanes will trigger a masonry layout mode.

Masonry Layout is Now `grid-lanes` by @sunkanmifafowora.bsky.social

css-tricks.com/masonry-layo...

19.12.2025 16:11 β€” πŸ‘ 10    πŸ” 4    πŸ’¬ 0    πŸ“Œ 3
Preview
Search CSS-Tricks Raycast Extension | CSS-Tricks Jelte Lagendijk built a Raycast extension for searching CSS-Tricks articles where you simply type and a get a solid set of real-time results.

Simply type and get a solid set of real-time search results from CSS-Tricks... pretty cool little @raycast.com extension.

css-tricks.com/search-css-t...

18.12.2025 15:43 β€” πŸ‘ 9    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

A little blending demo on @codepen.io: codepen.io/thebabydino/...

If you're interested in the how behind, check out my @css-tricks.bsky.social article Taming Blend Modes: `difference` and `exclusion` css-tricks.com/taming-blend...

#CSS

18.12.2025 09:06 β€” πŸ‘ 16    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0

We’re getting there β€” hit 18 years this past July!

17.12.2025 16:22 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@css-tricks is following 20 prominent accounts