Sizing
Easily make an element as wide or as tall with our width and height utilities.
Width
Width 25%
Width 50%
Width 75%
Width 100%
Width auto
Width 25%
Width 50%
Width 75%
Width 100%
Width auto
We have other width class utilities like
w-0
,w-8
,w-17
,w-20
,w-25
,w-33
,w-40
,w-42
,w-58
,w-60
,w-67
,w-80
,w-83
w-91
Height
Height 25%
Height 50%
Height 75%
Height 100%
Height 25%
Height 50%
Height 75%
Height 100%
We have other height class utilities like
h-0
,h-8
,h-17
,h-20
,h-25
,h-33
,h-40
,h-42
,h-58
,h-60
,h-67
,h-80
,h-83
h-91
Relative to the viewport
You can also use utilities to set the width and height relative to the viewport.
Height 100vh
Min Height 100vh
Height 50vh
Height 25vh
Width 100vw
Min Width 100vw
Width 50vw
Width 25w
On this page