Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

outline-color

3 tags 1 category

The outline-color CSS property sets the color of an element’s outline.

An outline is a line that is drawn around an element, outside the border. Unlike the element’s border, the outline is drawn outside the element’s frame, and may overlap other content. The border, on the other hand, will actually alter the page’s layout to ensure that it fits without overlapping anything else (unless you explicitly set it to overlap).

It is often more convenient to use the shorthand property outline when defining the appearance of an outline.

Values: <color> The color of the outline, specified as a <color>.

Syntax example: outline-color: #f92525;

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…