What is Value?



A value is the CSS code that defines the settings for for a CSS property. For example, if you’re using CSS to change the font size and color of a certain block of text, the value describes what those changes will be. The value 1.5em, red, 20px will cause the property (the block of text) to have an indentation of 1.5 the font size, the text will appear red, and the font size will be 20pt.



Comments are closed.