CSS outline-offset

Previous Next

Demo of the different values of the outline-offset property.

Click the property values below to see the result:

outline-offset: 0;
outline-offset: 2px;
outline-offset: 10px;
outline-offset: -10px;
outline-offset: -20px;

Play more with the code in our Tryit yourself editor: Try it Yourself ❯