The size properties are used to set the size of the HTML elements.

Size Properties

Widthnumber, autoSets the width of an element.
Heightnumber, autoSets the height of an element.
Overflowvisible, hidden, scroll, autoSpecifies what should happen if content overflows an element’s box.
Min Widthnumber, initialSet the minimum width of an element.
Max Widthnumber, noneSet the maximum width of an element.
Min Heightnumber, initialSet the minimum height of an element.
Max Heightnumber, noneSet the maximum height of an element.
Was this article helpful?

Couldn't Find Your Answer?

Get quality customer support with our professional support team.

Create A Support Ticket
Live Editor