Whatâs !important #1: Advent Calendars, CSS Wrapped, Web Platform Updates, and More
Welcome to the first ever Whatâs !important, a roundup of the best CSS and web development news from the last two weeks. If youâre pressed for time (who isnât?) or you just canât stand missing out on anything CSS-related, this is the place to recap:
- the best CSS/web dev articles from around the web,
- interesting announcements and quick-read links that we shared,
- the best of what Chrome, Firefox, and Safari have recently shipped,
- and more, probably.
Letâs dig in!
HTMHell Advent Calendar 2025
Manuel MatuzoviÄ has created this pretty hellish (all in good fun) HTMHell Advent Calendar 2025 made up of 24 HTML-focused articles â basically, thereâs one every day until Christmas Day. Obviously, weâre already 16 fantastic articles in, so youâre in for a real treat with 8 more articles to come. The highlight for me so far is the article on Invoker Commands, which as of this week are supported in all web browsers, so itâs a double win!
WebKit flags ::target-text
WebKit did a little write-up on ::target-text. And Iâm glad they did because I had never heard of it, even though Sunkanmi has an excellent write-up on it here at CSS-Tricks as well. Target text is the text that search engines sometimes highlight when taking you to a web page, but we can actually highlight text ourselves when sending links to other people. ::target-text selects this text so that we can style it, and itâs supported by all web browsers â who knew?
Stop using JavaScript to solve CSS problems
Chizaram Ken walks us through the latest CSS tricks that we can perform to reduce our reliance on JavaScript, and why weâd want to do that. With CSS growing faster than itâs ever grown before, I think weâll be seeing a lot more of these articles.
We have granular control over hyphenation
@eva.town over at Bluesky said that itâd be nice to be able to set hyphenation rules preventing words like âlighterâ from hyphenating as âlight-erâ â but @knowler.dev pointed out that we can, sort of. The hyphenate-limit-chars property (still waiting for Safari support) enables us to specify the preferred minimum number of characters on either side of the hyphen, which is good enough, I suppose?
Which color format should we be using?
@nadyavoynich.com asked this question, but honestly I still donât know.
Some very good points were made about human-readable formats and color depth, and Iâve kind of settled on oklch(). But some UI design tools donât even support HSL, so?
CSS Wrapped 2025 and State of HTML 2025
Itâs that time of the year. Weâve had Spotifyâs Wrapped, PlayStationâs Wrap-Up, Duolingoâs Year-in-Review â now itâs time for CSS Wrapped 2025, all of the latest and greatest things that Chrome did with CSS (and HTML) this year, and State of HTML 2025, which is about HTML in general.
Cool conversations, fun demos, and new browser features
In case you missed any of our Quick Hits, here are the latest CSS/web dev announcements and links that weâve shared:
Finally, our top picks for the best CSS and HTML features shipped by web browsers in the last couple of weeks:
- Chrome 143
- Firefox 146
contrast-color(), which ensures optimal color contrast between two colors (or at least it will once it leverages CSS Color 6)text-decoration-inset, which enables control over the position and size of text decorations@scope, which makes defining new CSS scoping contexts a baseline feature (this, frankly, is the highlight of my year)@custom-media, which is basically custom properties but for media queries, is being trialed
- Safari 26.2
random() generates a random number in CSS, but unfortunately itâs not supported anywhere else yet.sibling-index() andÂsibling-count() get the position and number of siblings respectively (weâre only waiting for Firefox support now).field-sizing enables adaptive sizing for input fields (again, hurry up Firefox).command andÂcommandfor, now baseline and my pick for best HTML feature of the year, are HTML attributes for invoking certain JavaScript events declaratively.hidden=until-found, also baseline now, for hiding elements until found by find-in-page.- Also, weâve never been able to set
cursoron pseudo-elements such as::beforeand::after, but thankfully we can now!
Remember, you can catch us again in two weeks â happy holidays!

