Glossary: CSS Layout and Responsive Design
Attribute selector
Also written: attribute selectors
A selector that matches elements by an attribute in square brackets, such as `[data-theme="dark"]` or `a[aria-current]`.
Glossary: CSS Layout and Responsive Design
Also written: attribute selectors
A selector that matches elements by an attribute in square brackets, such as `[data-theme="dark"]` or `a[aria-current]`.