To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

What CSS still needs in August 2022

CSS is always getting more and more features, but something that I have always thought is missing is an expression that allows or statements inline. For example:

div.content_zone p > img, div.content_zone p > span { }

With my idea, this could be more nicely written as div.content_zone p > (img, span) { }.

Not only is this nicer, but by being smaller it makes it more efficient, and thus faster to download.

Posted by jamiebalfour04 in The Web
Powered by DASH 2.0 (beta)
Scan and keep for the latest article or review every time!
Code previewClose