Utility families
Sizing
Widths and heights, minimum and maximum.
width
w:| Class | CSS properties |
|---|---|
w: |
width |
- Theme tokens: spacing
-
Keywords:
fullminmaxfit1/21/32/31/43/4screen - Arbitrary values: yes, in brackets
w:full
.w\:full {
width: 100%;
}
w:8
.w\:8 {
width: 2rem;
}
height
h:| Class | CSS properties |
|---|---|
h: |
height |
- Theme tokens: spacing
-
Keywords:
fullminmaxfit1/21/32/31/43/4screen - Arbitrary values: yes, in brackets
h:full
.h\:full {
height: 100%;
}
h:8
.h\:8 {
height: 2rem;
}
max-width
mw:| Class | CSS properties |
|---|---|
mw: |
max-width |
- Theme tokens: spacing
-
Keywords:
fullminmaxfit1/21/32/31/43/4nonescreen - Arbitrary values: yes, in brackets
mw:full
.mw\:full {
max-width: 100%;
}
mw:8
.mw\:8 {
max-width: 2rem;
}
max-height
mh:| Class | CSS properties |
|---|---|
mh: |
max-height |
- Theme tokens: spacing
-
Keywords:
fullminmaxfit1/21/32/31/43/4nonescreen - Arbitrary values: yes, in brackets
mh:full
.mh\:full {
max-height: 100%;
}
mh:8
.mh\:8 {
max-height: 2rem;
}
min-width
mnw:| Class | CSS properties |
|---|---|
mnw: |
min-width |
- Theme tokens: spacing
-
Keywords:
fullminmaxfit1/21/32/31/43/4screen - Arbitrary values: yes, in brackets
mnw:full
.mnw\:full {
min-width: 100%;
}
mnw:8
.mnw\:8 {
min-width: 2rem;
}
min-height
mnh:| Class | CSS properties |
|---|---|
mnh: |
min-height |
- Theme tokens: spacing
-
Keywords:
fullminmaxfit1/21/32/31/43/4screen - Arbitrary values: yes, in brackets
mnh:full
.mnh\:full {
min-height: 100%;
}
mnh:8
.mnh\:8 {
min-height: 2rem;
}