Measures

Introduction

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

Size Properties

Property Values Description
Width number, auto Sets the width of an element.
Height number, auto Sets the height of an element.
Overflow visible, hidden, scroll, auto Specifies what should happen if content overflows an element’s box.
Min Width number, initial Set the minimum width of an element.
Max Width number, none Set the maximum width of an element.
Min Height number, initial Set the minimum height of an element.
Max Height number, none Set the maximum height of an element.
Was this article helpful?
YesNo
Live Editor