CSS Sizing Reference Guide
CSS Sizing Reference Guide
This is a complete reference guide for web developers, in which we list the Cascading Style Sheets (CSS) recommended by the World Wide Web Consortium (W3C) 2.
Click any property to see its description with examples.
Number | Property and Description |
---|---|
1 | height Defines the height of the element. |
2 | line-height Sets the distance between adjacent text baselines. |
3 | max-height The max-height property is used to limit the height of an element. |
4 | max-width The max-width property is used to set the maximum width of an element. |
5 | min-height The min-height property is used to limit the height of an element. |
6 | min-width The min-width property is used to limit the width of an element. |
7 | width Defines the width of an element. |