Dimensions
These properties allow us to control the height and width of element boxes. You can also read The CSS Box Model for more information about the calculation of box dimensions.
In this Section
- height
sets the content height of a block or a replaced element - min-height
sets the minimum content height of a block or a replaced element - max-height
sets the maximum content height of a block or a replaced element - width
sets the content width of a block or a replaced element - min-width
sets the minimum content width of a block or a replaced element - max-width
sets the maximum content width of a block or a replaced element
Previous: Box Properties
Next: height
User-contributed notes
There are no comments yet.
Add a note
To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.
