A CSS rule consists of a selector, which designates the targeted elements, and a block of declarations between braces. Each declaration pairs a property with a value, ending with a semicolon. Rules are written in a stylesheet linked to the page.
Example
p {
color: #333;
font-size: 1rem;
}