Outline offset

Syntax

Class
Properties
outline-offset-{value}
outline-offset: {value};

Parameters

value
<length default-unit=1px>

Border styles

<div class="t1 w-96 h-96 bg-c-white outline-4-blue outline-offset-8"></div>

Specification test cases

The test cases below are imported from the Turbo CSS specification. They have been executed upon loading this page.
1px outline offset provided as unitless number.
t1 outline-offset-1
.t1.outline-offset-1 { outline-offset: 1px; }
1px outline offset provided as length value.
t1 outline-offset-1px
.t1.outline-offset-1px { outline-offset: 1px; }