• Sign in
  • Sign up
Elektrine
EN
  • EN English
  • 中 中文
Log in Register
Modes
Overview Search Chat Timeline Communities Gallery Lists Friends Email Vault VPN
Back to Timeline
  • Open on mastodon.social

CSS-Tricks

@csstricks@mastodon.social
mastodon 4.6.0-nightly.2026-03-19

The official account for CSS-Tricks.com, a web design community powered by
DigitalOcean.

0 Followers
0 Following
Joined December 14, 2022
Website:
https://css-tricks.com
Twitter:
https://twitter.com/css
Everything:
* { box-sizing: border-box; }

Posts

csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · 3d ago

For this issue of What’s !important, we have a healthy balance of old CSS that you might’ve missed and new CSS that you don’t want to miss. This includes random(), random-item(), folded corners using clip-path, backdrop-filter, font-variant-numeric: tabular-nums, the Popover API, anchored container queries, anchor positioning in general, DOOM in CSS, the customizable select element, :open, scroll-triggered animations, the toolbar element, and somehow, more.

https://css-tricks.com/whats-important-7/

View on mastodon.social
0
0
1
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Mar 11, 2026

A few wild examples of the customizable select have been floating around. Here are a few more from @patrickbrosset@mas.to that push the envelope.

https://css-tricks.com/abusing-customizable-selects/

View on mastodon.social
1
0
3
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Mar 09, 2026

Aren't z-index values one of those things we all sorta struggle with? How we choose them, how we manage them, how we balance the stacking contexts, etc.

@amit_sheen@mastodon.cloud
has a great way to approach it... all around tokens for intentional intentional layers.

https://css-tricks.com/the-value-of-z-index/

View on mastodon.social
2
0
1
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Mar 02, 2026

A really good look at the Popover and Dialog APIs... and what makes them different.

https://css-tricks.com/popover-api-or-dialog-api-which-to-choose/

View on mastodon.social
6
0
5
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Feb 27, 2026

Despite what’s been a sleepy couple of weeks for new Web Platform Features, we have an issue of What’s !important that’s prrrretty jam-packed. The web community had a lot to say, it seems, so fasten your seatbelts!

https://css-tricks.com/whats-important-6/

View on mastodon.social
1
0
0
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Feb 27, 2026

TIL: We can center an absolutely positioned element with justify-self:

.element {
position: absolute;
place-self: center;
inset: 0;
}

Juan Diego explains it nicely here:

https://css-tricks.com/yet-another-way-to-center-an-absolute-element/

View on mastodon.social
5
0
5
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Feb 25, 2026

Lee Meyer's sane, thoroughly reported, and well-grokked explanation of the recent CVE-2026-2441 vulnerability that was labeled a "CSS exploit" that "allowed a remote attacker to execute arbitrary code inside a sandbox via a crafted HTML page."

https://css-tricks.com/an-exploit-in-css/

View on mastodon.social
0
0
1
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Feb 23, 2026

SVG or raster? The short answer to that question is: there’s almost no difference at all if you are working on something very small and specific.

But it's more nuanced than that, and Mariana Beldi has all the nerdy details.

https://css-tricks.com/loading-smarter-svg-vs-raster-loaders-in-modern-web-design/

View on mastodon.social
4
0
3
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Feb 20, 2026

Poking at a new proposal that would allow an element to match an element when the pointer gets :near() it by a certain amount.

https://css-tricks.com/potentially-coming-to-a-browser-near-you/

View on mastodon.social
3
0
2
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Feb 18, 2026

Distinguishing “Components” and “Utilities” in Tailwind by Zell Liew

https://css-tricks.com/distinguishing-components-and-utilities-in-tailwind/

View on mastodon.social
0
0
0
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Feb 17, 2026

Interop 2026 is officially a thing and there's plenty of new (and even old) CSS features that we can look forward to being cross-browser compatible and consistent!

https://css-tricks.com/interop-2026/

View on mastodon.social
5
0
3
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Feb 17, 2026

Split the text, rotate and scale it, and translate the individual characters on scroll.

Phew, definitely not for the faint of heart but it's a super cool effect!

https://css-tricks.com/spiral-scrollytelling-in-css-with-sibling-index/

View on mastodon.social
2
0
0
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Feb 13, 2026

This issue of What’s !important is dedicated to our friends in the UK, who are currently experiencing a very miserable 43-day rain streak. Presenting: the five most interesting things to read about CSS from the last couple of weeks. Plus, the latest features from Chrome 145, and anything else you might’ve missed.

TL;DR: lots of content, but also lots of rain:

https://css-tricks.com/whats-important-5/

View on mastodon.social
1
0
0
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Feb 12, 2026

Is it impossible for @css@font-end.social to NOT take something to the next level, even his own work.

https://css-tricks.com/making-a-responsive-pyramidal-grid-with-modern-css/

View on mastodon.social
5
0
1
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Feb 11, 2026

Here's a math-y way to approximate the contrast-color() function from @khamer@me.dm while we're waiting on full support.

https://css-tricks.com/approximating-contrast-color-with-other-css-features/

View on mastodon.social
8
0
2
0
csstricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
CSS-Tricks
CSS-Tricks
@csstricks@mastodon.social

The official account for CSS-Tricks.com, a web design community powered by DigitalOcean.

mastodon.social
@csstricks@mastodon.social · Feb 10, 2026

The progress() function is sorta like clamp() but returns 1 or 0. Combine it with calc() and you can get weird with it.

View on mastodon.social
Your browser does not support the video tag.
6
0
5
0
313k7r1n3

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • VPN Policy

Email Settings

IMAP: imap.elektrine.com:993

POP3: pop.elektrine.com:995

SMTP: smtp.elektrine.com:465

SSL/TLS required

Support

  • support@elektrine.com
  • Report Security Issue

Connect

Tor Hidden Service

khav7sdajxu6om3arvglevskg2vwuy7luyjcwfwg6xnkd7qtskr2vhad.onion
© 2026 Elektrine. All rights reserved. • Server: 11:05:29 UTC