/

HTML / CSS / JavaScript Tutorial

CSS Property: outline-color

[this page | pdf | back links]

The CSS (CSS2) outline-color property sets the color of the outline of an element (i.e. a line that is drawn around the element, outside its borders, usually to make the element stand out relative to other elements.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

color

A CSS colour

invert

(default value). Inverts colour

 

Default Value:

invert

JavaScript syntax:

e.g. object.style.outlineColor="red"

Inherited:

No

Animatable:

Yes

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile