List of CSS predefined values.

Values List.

The CSS specification defines some particular values, which can be used to define properties.

Example: the width of an element can be set to a given value (width:200px) or determined automatically by using a predefined value (width:fit-content;).

CSS Box Sizing Module

fit-content
Calculates the size of an element based on its contents and available space.
max-content
Gives the dimension of a text without inserting line breaks.
min-content
Donne la dimension d'un texte après avoir inséré le plus possible de retours à la ligne.

CSS Cascading and Inheritance

!important
Makes a rule priority over all others.
inherit
Sets a property to the same value as the parent element.
initial
Restores a property to its original value.
revert
Sets a property to the value set by the browser.
revert-layer
Restores a property's value to the value it had in the previous layer.
unset
Gives a property the value it would have had if no style had changed it.

CSS Values and Units Module

e
Langue française
The predefined value of the number e (the basis of natural logarithms), which is approximately 2.7182818284590452354.
infinity
Langue française
An error value indicating that the result of a calculation is an infinite value.
NaN
Langue française
An error value indicating that a calculation could not be performed because of a non-numeric parameter.
pi
Langue française
The preset value of the number pi (about 3.1415926535897932).