DEV Community

Discussion on: DISCUSS: If there's one CSS feature you could add, what would it be?

Collapse
 
alohci profile image
Nicholas Stimpson • Edited
  1. attr() on all properties and on regular elements would be great.
  2. There was some great ideas in the 2003 Generated and Replaced Content draft, like ::outside pseudo element, ::before::before::before etc pseudo elements, deferring rendering with an ::alternate pseudo element. Wish we had those.
  3. If we can't have 2, then content:contents would be very helpful.
  4. CSS regions
  5. CSS exclusions.

Oops, that's five features. Just being greedy :-)

Collapse
 
thalitadev profile image
Thalita G.

Getting attr() on all properties would be absolutely great! If I had to pick one of these, it'd be most definitely that one! :)