I know I’m late, but hey why not!
Things that don’t exist yet
Just to be clear, when I say “don’t exist yet” I mean that these are things that the CSSWG aren’t working on yet, as far as I know.
- Detect things (flex wrap, position sticky, etc.) (stolen from Ahmad Shadeed)
- Visually hidden (stolen from Ben Myers)
- Styleable resizers (stolen from Chris Coyier)
- Standardized multi-line truncation (stolen from Chris Coyier)
- Grid/flex track styles (stolen from Eric Meyer)
- Lets chuck in flex too.
- More and better
:has()
(stolen from Eric Meyer)- Not being able to do
a:has(> b)
has (pun intended) tripped me up before.
- Not being able to do
- Cross-boundary styles (stolen from Eric Meyer)
- Reference URLs and HTTP in CSS (stolen from Jim Nielsen)
- Alternative text for pseudo elements (stolen from Manuel Matuzo)
- Block links (stolen from Manuel Matuzo)
- Static variables (stolen from Mayank)
Things that the CSSWG are already aware of/working on
- More logical properties
- Scrollbar gutters
- Animate display none
- As in, delay the application of
display: none;
until all the other animations have run.
- As in, delay the application of
- Unit division (Stolen from Scott Kellum)
- Also more importantly but further off, ruleset interpolation.
- Easing gradients
- Better input styling (selectmenu, etc.)
- Anchor positioning
- Leading trim
- View transitions
- Subgrid
- Masonry layout
- Custom media
@property
- Hanging punctuation
- Scoped styling
- Generated content alt text
- Colour contrast
- Display contents but without the accessibility issues (stolen from Tyler Sticka)
- Random numbers
Not really CSS
- Declarative custom elements (no shadow DOM)
<tooltip>
like the title attribute but not shit
Prior art
From A to Z:
A few CSS features I wish to have.
For years, developers have passed around a set of styles like a magic incantation. It’s time we made it a web standard.
Chris Coyier’s Things CSS Could Still Use Heading Into 2023 (unfurl not working with this post for some reason 🤔).
2022 was a massive year for CSS. We got CSS Layers, more subgrid support, the impossible :has() selector, and WE GOT CONTAINER QUERIES! 🎉 Thank you to everyone who worked on those. A lot of the success for CSS this past year was due to an incredible cross-browser effort called Interop 2022, a loose agreement amongst browsers to try to work on some of the same features so feature support gaps between browsers are shorter.
In which I set out to write down a wish or two for CSS in 2023, and ended up with a list of sixt—no, wait, seventeen.
Trim it.
Writing about the big beautiful mess that is making things for the world wide web.
I’m a frontend developer in Graz, specialized in HTML, accessibility, and CSS layout and architecture.
Maybe a few weeks late to the party, but better late than never. Today I will talk about the things I wish CSS had. CSS has been getting so many awesome features lately, and some of the items on this list are already being worked on, while others sho…
There's a whole lot to love already about CSS in 2023, but here are just a couple more things I'd still find useful. Plus, a review of long-standing issues that actually have some support or are in-progress.
Cloud Four’s creative director ponders what he’d like to see from CSS in the coming year.