Outline Style
Controls the outline style of an element.
Utility | Properties |
---|---|
Error: 429 |
This example showcases various outline-style
utilities:
- The dashed utility creates a dashed outline around the element.
- The none utility removes any outline from the element.
- The solid utility creates a solid outline around the element.
<div class="d-g g-16 gtc-1 sm:gtc-3"> <div class="b-1 bc-indigo d-16 oc-indigo oo-1 os-none rad-1"></div> <div class="b-1 bc-indigo d-16 oc-indigo oo-1 os-d rad-1"></div> <div class="b-1 bc-indigo d-16 oc-indigo oo-1 os-s rad-1"></div></div>
Conditional styles
Learn how to override existing utilities based on the userโs screen size or other factors, such as hover states.
Media modifier
You can combine responsive breakpoints like sm:-*
,md:-*
, lg:-*
, and xxl:-*
allows targeting specific utilities in different viewports.
<div class="os-h md:os-s ..."></div>
Hover modifier
Alternatively, you can apply :hover
by using h:-*
utility to override elements and change their values when hovering over them.
<div class="os-h h:os-s ..."></div>