outline

Term side of the Card
Topic: Borders, Outlines & Shadows
Unit title: outline
Categories: Property
Explanation side of the Card

Explanation: The shorthand property that sets a line around an element, similar to a border but without affecting the element's dimensions. It combines `outline-color`, `outline-style` and `outline-width` properties into one declaration, useful for creating visual emphasis or focus indicators.

Browser compatibility:
  • The chrome browser supports this feature starting from version 94
  • The edge browser supports this feature starting from version 94
  • The firefox browser supports this feature starting from version 88
  • The safari browser supports this feature starting from version 16.4
Availability: