CSS Property
A CSS property is a single styling setting you change, such as color, font-size, or margin. Each property is paired with a value to form a declaration like color: red;.
Web
Properties live inside the curly braces of a CSS rule. There are hundreds of them, covering color, typography, spacing, layout, borders, backgrounds, animations, and more.
Every declaration follows the same pattern: a property name, a colon, a value, and a semicolon.
Examples
CSS
p {
color: darkblue;
font-size: 18px;
line-height: 1.5;
}Output:
Sets paragraph text to dark blue, 18px, with 1.5 line spacing.