Specify an outline 15px outside the border edge:
![]()
The outline-offset property is supported in all major browsers, except Internet Explorer.
The outline-offset property offsets an outline, and draws it beyond the border edge.
Outlines differ from borders in two ways:
| Default value: | 0 |
|---|---|
| Inherited: | no |
| Version: | CSS3 |
| JavaScript syntax: | object.style.outlineOffset="15px" |
| Value | Description |
|---|---|
| length | The distance the outline is outset from the border edge |
| inherit | Specifies that the value of the outline-offset property should be inherited from the parent element |
CSS3 tutorial: CSS3 User Interface
Your message has been sent to W3Schools.