Syntax
outline-offset
Setting the spacing between an outline and the border of an element.
Overview
Class | Declarations |
---|---|
outline-offset:`offset` | outline-offset: `offset`;
|
Apply conditionally
Apply styles based on different states using selectors and conditional queries.
<div class="outline-offset:2:hover outline-offset:2@sm outline-offset:2@dark outline-offset:2@print">…</div>