Utility families
Media and backgrounds
Aspect ratio, image fit, background position and repeat, border style.
aspect-ratio
ar:| Class | CSS properties |
|---|---|
ar: |
aspect-ratio |
-
Keywords:
autosquarevideophotoportrait - Arbitrary values: yes, in brackets
ar:auto
.ar\:auto {
aspect-ratio: auto;
}
object-fit
obf:| Class | CSS properties |
|---|---|
obf: |
object-fit |
-
Keywords:
containcoverfillnonescale-down - Arbitrary values: no
obf:contain
.obf\:contain {
object-fit: contain;
}
object-position
obp:| Class | CSS properties |
|---|---|
obp: |
object-position |
-
Keywords:
centertopbottomleftrighttop-lefttop-rightbottom-leftbottom-right - Arbitrary values: yes, in brackets
obp:center
.obp\:center {
object-position: center;
}
background-position
bgp:| Class | CSS properties |
|---|---|
bgp: |
background-position |
-
Keywords:
centertopbottomleftrighttop-lefttop-rightbottom-leftbottom-right - Arbitrary values: yes, in brackets
bgp:center
.bgp\:center {
background-position: center;
}
background-repeat
bgr:| Class | CSS properties |
|---|---|
bgr: |
background-repeat |
-
Keywords:
repeatnonexyroundspace - Arbitrary values: no
bgr:repeat
.bgr\:repeat {
background-repeat: repeat;
}
mix-blend-mode
mix:| Class | CSS properties |
|---|---|
mix: |
mix-blend-mode |
-
Keywords:
normalmultiplyscreenoverlaydarkenlightendifferenceluminosity - Arbitrary values: no
mix:normal
.mix\:normal {
mix-blend-mode: normal;
}
border-style
bs:| Class | CSS properties |
|---|---|
bs: |
border-style |
-
Keywords:
soliddasheddotteddoublenonehidden - Arbitrary values: no
bs:solid
.bs\:solid {
border-style: solid;
}