CSS - Dimension



This is a complete reference guide for web developers where we have listed all the CSS properties related to dimension defined in the World Wide Web Consortium's Recommended Specification for Cascading Style Sheets, Level 2.

Click any property to see its description with examples −

Sr.No. Property & Description
1 height

Defines the height of an element.

2 line-height

Sets the distance between adjacent text baselines.

3 max-height

max-height property is used to constrain the height of an element.

4 max-width

max-width property is used to set the maximum width of an element.

5 min-height

min-height property is used to constrain the height of an element.

6 min-width

min-width property is used to constrain the width of an element.

7 width

Defines the width of an element.

css_references.htm
Advertisements