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) { }
The bracketed part here represents either img or span, meaning one selector needs to be written to affect both of them, not two. Not only is this nicer, but by being smaller it makes it more efficient, and thus faster to download.
Posted in The Web

There are no comments on this page.
Comments are welcome and encouraged, including disagreement and critique. However, this is not a space for abuse. Disagreement is welcome; personal attacks, harassment, or hate will be removed instantly. This site reflects personal opinions, not universal truths. If you can’t distinguish between the two, this probably isn’t the place for you.
Comments powered by BalfComment