Outline Width
Controls the width of the outline of an element.
Class | Properties |
---|---|
ow-0 | outline-width: 0px; |
ow-1 | outline-width: 1px; |
ow-2 | outline-width: 2px; |
ow-3 | outline-width: 3px; |
ow-4 | outline-width: 4px; |
This example showcases various outline widths: 1px, 2px, and 3px. The element will have outlines that are thin, moderately thick, and thick, respectively.
<div class="d-g g-16 gtc-1 sm:gtc-3"> <div class="b-1 b-s bc-gray dim-16 oc-indigo oo-1 os-s ow-1 rad-1"></div> <div class="b-1 b-s bc-gray dim-16 oc-indigo oo-1 os-s ow-2 rad-1"></div> <div class="b-1 b-s bc-gray dim-16 oc-indigo oo-1 os-s ow-3 rad-1"></div></div>
Utilizing utilities conditionally
Override existing utilities based on the user's screen size or other factors, such as hover states. Learn more about modifiers in our documentation.
Responsive breakpoints
You can combine responsive breakpoints like sm:ow-*
,md:ow-*
, lg:ow-*
, and xxl:ow-*
allows targeting specific utilities in
different viewports.
<div class="ow-1 md:ow-2 ..."></div>
Utilizing utilities conditionally
Override existing utilities based on the user's screen size or other factors, such as hover states. Learn more about modifiers in our documentation.
Hover states
Alternatively, you can apply :hover
by using h:ow-*
utility to override elements
and change their values when hovering over them.
<div class="ow-1 h:ow-2 ..."></div>