#Height
Classes to set the height of an element.
Class | Styles |
---|---|
h-10 |
|
h-20 |
|
h-30 |
|
h-40 |
|
h-50 |
|
h-60 |
|
h-70 |
|
h-80 |
|
h-90 |
|
h-100 |
|
h-auto |
|
h-screen |
|
Classes to set the height of an element.
Class | Styles |
---|---|
h-10 |
|
h-20 |
|
h-30 |
|
h-40 |
|
h-50 |
|
h-60 |
|
h-70 |
|
h-80 |
|
h-90 |
|
h-100 |
|
h-auto |
|
h-screen |
|
The h-{{value}}
classes gives an element a percentage based height.
h-30
h-50
h-70
h-90
<div>
<div class="h-30">...</div>
<div class="h-50">...</div>
<div class="h-70">...</div>
<div class="h-90">...</div>
</div>
The h-screen
class makes an element span the entire viewport.
h-screen
<div>
<div class="h-screen">...</div>
</div>
The h-auto
class makes an element use a browser determined height. This is commonly used to unset a previously set height.
h-auto
<div>
<div class="h-auto">...</div>
</div>