CSS: multiple attribute selector
Multiple Attribute Selector
The attribute selector can be combined. For example:
p[aaa="1"][bbb="2"] {color:red;}
matches
<p aaa="1" bbb="2">something</p>
CSS, Selectors
- CSS. Selector. Index
- CSS: selector tutorial
- CSS: type selector (tag name)
- CSS: class selectors
- CSS: ID selectors
- CSS: attribute selector
- CSS: multiple attribute selector
- CSS: selector list (grouping selectors)
- CSS: root selector
- CSS: child selector (check parent)
- CSS Selector: no child
- CSS Selector: check descendant (has)
- CSS Selector: check sibling
- CSS Selector: pseudo-class
- CSS Selector: pseudo-element
- CSS Selector: negation (not)
- CSS Selector: is any of (is, where)
- CSS Selector: Simple, Compound, Combinator, Complex
- CSS Selector: pseudo-class functions