Web platform features explorer

outline

Newly available since 2023-03-27
Tags: css

The outline CSS shorthand sets the color, style, and width of a line around an element, outside of the border.

Learning resources on MDN

Browser support

Usage (according to Chrome Platform Status)

~77.584% of page loads. More data at chromestatus.