Property | Description | Possible Values | Examples |
---|---|---|---|
outline-color | Declares the outline color. | Valid color names, RGB values, hexidecimal notation. | div { outline-color:green; } div { outline-color:#00FF00; } |
outline-style | Declares the style of the outline. | none dotted dashed solid double groove ridge inset outset | div { outline-style:solid; } div { outline-style:inset; } |
outline-width | Declares the width of the outline. | Lengths or the following predefined values: thin | div { outline-width:2px; } div { outline-width:thin; } |
outline | Used as a shorthand property to set all the background properties at once. | Separate values by a space in the following order (those that are not defined will use inherited or default initial values): outline-color | div { outline:green solid 2px; } div { outline:#00FF00 double thick; } |