CSS outline propertiesExternal Link

BaselineWidely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2025.

The CSS outline properties draw a border around an element that does not affect layout, making it ideal for highlighting. This covers the outline shorthand, as well as outline-width, outline-style, outline-color and outline-offset.

IE
Edge
Firefox
Chrome
Safari
Safari iOS
Opera Mini
Chrome Android
Android Browser
Samsung Internet
Globals: 97.58% of all users can use this feature, 97.41% fully supported, 0.17% partially supported
✓Supported
✗Not supported
Partial support