Outline Style
Controls the outline style of an element.
| Class | Style |
|---|---|
| os-none | outline-style: none;
|
| os-d | outline-style: dashed;
|
| os-s | outline-style: solid;
|
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.
Breakpoint variant
You can combine responsive breakpoints like sm:os-*,md:os-*, lg:os-*, and xxl:os-* to allow targeting specific utilities in different viewports.
<div class="os-h md:os-s ..."></div>Hover variant
Alternatively, you can apply :hover by using h:os-* utility to override elements and change their values when hovering over
them.
<div class="os-h h:os-s ..."></div>