Excellent news first? Or unhealthy information first?
Let’s do unhealthy information first.
That is the ultimate problem of What’s !vital on CSS-Tips.com. The good information is that it’s coming again in an expanded kind because the CSS-Tips publication. I had ya there for a second, didn’t I? Sorry, I couldn’t determine whether or not to trick or deal with, so I went for each. Completely satisfied Halloween!
The publication formally kicks off on November tenth. That’s after a way-too-long four-year hiatus. What the heck, proper? It’s not solely excessive time for it to come back again, however so that you can get on the record. You’ll get hand-written and hand-curated information, hyperlinks, and editorials you could solely discover there. Be part of the social gathering with me!
So, let’s exit with a giant bang for our “remaining” problem. It’s filled with some stuff that I’ve been holding onto since earlier than the location got here again to life earlier this week, but additionally some new stuff, and I can’t wait to lastly get it out to you.
Scooch over Apple, Rockstar has one thing they’d wish to say about fancy scrolling results (to be honest, they’ve had 13 years to create them). First, take a look at the GTA 6 web site (which oddly doesn’t work in Firefox), then watch Kevin Powell’s GTA 6 scroll results walkthrough, which is frankly probably the most enjoyable you could have whereas ready (and ready) for GTA 6.
Mojtaba Seyedi demonstrated find out how to construct a scrollspy with fashionable CSS. What’s a scrollspy, you ask? Effectively, when you have a navigation that hyperlinks to totally different sections of the web page, a scrollspy highlights the part that you just’re at present on within the navigation.
random() demos defined
Brecht De Ruyte showcased and defined some completely gorgeous random() demos.
Listed here are just a few of them:
Okay, that was various…
Implementing icons on the net in 2026 and past
Lea Verou defined, intimately, the other ways of implementing icons on the net. Many thrilling CSS options of the long run are talked about, together with Linked Parameters, ident(), @mixin and @apply, the @property shorthand, and extra, so it’s a very deep dive with plenty of intrigue.
::*?
Kilian Valkhof prompt a common pseudo-selector. I imply, the common selector (*) doesn’t choose pseudo-elements, which is why nearly each web site makes use of the next CSS snippet, proper?
*,
::earlier than,
::after {
box-sizing: border-box;
}
However there are far more of them now (e.g., ::backdrop and ::details-content, to call simply a few widespread ones within the context of box-sizing: border-box), so Kilian suggests ::*.
I prefer it!
New HTML and CSS options which are helpful for design techniques
Declan Chidlow advised us which new HTML and CSS options are helpful for design techniques. My favorites are text-box, sibling-index(), sibling-count(), @scope, and @custom-media, that are very useful even outdoors of design techniques.
Make s adapt to their content material
Adam Argyle shared a candy CSS trick to make s adapt to their content material (like contenteditables do naturally):
As you possibly can see, there’s a little bit of anchor positioning occurring there. Is it simply me or is anchor positioning probably the most versatile CSS characteristic proper now?
Create wavy dividers utilizing random() and form()
Right here’s one other CSS trick, this one to create wavy dividers utilizing random() and form(). This has Temani Afif written throughout it, doesn’t it?
New colour distinction checker
Whereas it definitely isn’t the one colour distinction checker on the market, This hue shall go is a brand new one that allows us to examine each mixture of colours, acknowledges the distinction between Fail and Fail: near passing, and permits us to regulate the lightness till the colour distinction ratio meets the AA/AAA requirements. I believe I’ll be utilizing this one (made by Clearleft, by the way in which) to any extent further.

Gradient visualizer (additionally new)
Concocted in Ahmad Shadeed’s lab, Gradient Layers allows us to edit gradients or create them from scratch visually, which is less complicated than fidgeting with CSS, particularly if they’ve a number of layers.

Two new gradient varieties on the way in which
On that observe, we’ve two new gradient varieties on the way in which. Josh Tumath defined how they work and what their CSS code would possibly appear to be.
A few easy examples:
background-image: mesh-gradient(crimson, blue; inexperienced, yellow);

background-image: freeform-gradient(crimson prime left, yellow backside proper);

These examples are cool nevertheless it’s the picture under that actually demonstrates how superior these gradient varieties are (this one makes use of a mesh gradient):

Do your factor, Ahmad!
New internet platform options and updates
Now, I’ll see you in a few weeks for What’s !vital #21, however bear in mind, you should subscribe to the CSS-Tips publication to learn it and each problem after it. It’ll embrace the identical top-notch content material from the very best front-end authors in addition to the most recent internet platform updates, however with free supply and a sponsor. Thanks for sticking with us <3.








