高 - area

默认为元素

2025-04-11

Written by: tdtc

css edge

<Content>
Border

tailwind

Fixed value

Class Styles
h-auto height: auto;
h-px height: 1px;
h-full height: 100%;

Frequently used values

Class Styles
h-<number> height: calc(var(--spacing) * <number>);
h-[<value>] height: <value>;
<div class="h-10 bg-red-200">h-10</div>
<div class="h-[30px] bg-blue-300">h-30px</div>

Ref