68 of 313 menu

The outline-color property

The outline-color property specifies a color of an outline - a border that does not take up space. The property value is any size units. Default value: same color as block text.

Syntax

selector { outline-color: color; }

Example

Let's set the element an outline:

<div id="elem"></div> #elem { outline-width: 1px; outline-style: solid; outline-color: red; width: 300px; height: 100px; }

:

See also

byenru