http://3oamv2de6ooacy72hv3ulym3i3vvlprlkqas7hhzo4pu5nyxnji37zad.onion/blogs/writing-a-website-part-2
To style using an element's attribute, we use an attribute selector, a simple attribute selector can be written as [attribute-name="value"] . /* Styling all elements with the title attribute set as "cheese" */
[title="cheese"] {
/* some styles */
} Two HTML attributes, id , and class are special, because they are used a lot for styling HTML.