Class Selector:
The "Class" selector uses the "class" attribute of an HTML element.
To select elements with a specific class, write a period character, followed by the name of the class.
"Class" selector defines as a symbol "." (dot).
Example
.class {
text-align: center;
font-size: 18px;
}