Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css :where

ol {
    list-style-type: upper-alpha;
    color: darkblue;
}

/* Not applied to ol, because of lower specificity */
:where(ol, ul, menu:unsupported) :where(ol, ul) {
    color: green;
}

:where(ol, ul) :where(ol, ul) ol {
    list-style-type: lower-greek;
    color: chocolate;
}
 
PREVIOUS NEXT
Tagged: #css
ADD COMMENT
Topic
Name
4+5 =