Pattern:
element.CLASSNAME
Definition:
The element.CLASSNAME selector matches every element that have a class attribute containing CLASSNAME. The CLASSNAME must immediately follow the ".".
When representing the class attribute, element.CLASSNAME and element[class~=CLASSNAME] have the same meaning.
Examples:
Assign styles to all elements with class="code"
*.code { font-family: monospace; }
or simply
.code { font-family: monospace; }
Style all <p> elements with class="note