Comment More programmically approaches of CSS (Score 3, Interesting) 326
if you have 2 elements, eg ol#a and span#b, you need to double your selectors:
ol#a *:first-child a:hover + dd, span#b *:first-child a:hover + dd { ... }
Why is there no 'grouping' of selectors such as:
ol#a, span#b { *:first-child a:hover + dd { ... } }
And of course, there are more possibilities to greatly improve the maintainability of CSS-files; being able to define variables, or inline-calculations (eg. border-width: @var - 0.5em;
Have they not been included to keep CSS simple, or ... ?
ol#a *:first-child a:hover + dd, span#b *:first-child a:hover + dd {
Why is there no 'grouping' of selectors such as:
ol#a, span#b { *:first-child a:hover + dd {
And of course, there are more possibilities to greatly improve the maintainability of CSS-files; being able to define variables, or inline-calculations (eg. border-width: @var - 0.5em;
Have they not been included to keep CSS simple, or