Outline width

Syntax

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

Parameters

value
<length unsigned default-unit=1px>

Border styles

<div class="t1 w-96 h-96 bg-c-white outline-c-blue-500-30 outline-1 outline-solid"></div>

Specification test cases

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