CSS Properties
Below you'll find a list of all CSS properties from the Cascading Style Sheets 1 specifications up to Cascading Style Sheets 3 specifications. CSS properties are the individual settings that you can use to control the appearance and behavior of HTML elements. CSS properties are declared in pairs, with the property name followed by a colon and the property value.
There are hundreds of different CSS properties, and each one controls a different aspect of an element's appearance or behavior. For example, you can use CSS properties to control the following:
- Colors and fonts: You can use CSS properties to set the text color, font family, font size, and other font-related properties.
- Layout: You can use CSS properties to control the position, size, and spacing of elements on a page.
- Backgrounds: You can use CSS properties to set the background color, image, and other properties of elements.
- Borders: You can use CSS properties to add borders to elements and control their appearance.
- Shadows: You can use CSS properties to add shadows to elements and control their appearance.
- Transitions and animations: You can use CSS properties to create transitions and animations between different element states.
CSS properties can be applied to individual elements, groups of elements, or even the entire page. You can apply CSS properties in a variety of ways, including inline, embedded, and external stylesheets. Currently there are 372 CSS properties available.