|
|
Working with CSS Dimensions -
CSS dimension is used to control the height and width of an element. Its properties are given below.
|
Property |
Description |
Values |
| height | Sets the height of an element | auto length % inherit |
| max-height | Sets the maximum height of an element | none length % inherit |
| max-width | Sets the maximum width of an element | none length % inherit |
| min-height | Sets the minimum height of an element | length % inherit |
| min-width | Sets the minimum width of an element | length % inherit |
| width | Sets the width of an element | auto length % inherit |
|
|