/

HTML / CSS / JavaScript Tutorial

CSS Property: outline-style

[this page | pdf | back links]

The CSS (CSS2) outline-style property specifies the style to be used for the outline of an element.

 

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

 

Value

Description

dashed

Dashed outline

dotted

Dotted outline

double

Double outline

groove

Effect depends on outline-color value

hidden

Hidden outline

inset

Effect depends on outline-color value

none

(default value). No outline

outset

Effect depends on outline-color value

ridge

Effect depends on outline-color value

solid

Solid outline

 

Default Value:

none

JavaScript syntax:

e.g. object.style.outlineStyle="ridge"

Inherited:

No

Animatable:

Yes

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile