CSS Outline Property
CSS 1 |
CSS 2 |
CSS 3 |
|
|
|
|
Description
Sets the outline properties. Used as a type of shortcut, instead of listing each property separately.
Syntax
outline: [value1],[value2] ...
Possible values
- [outline-color]
- [outline-style]
- [outline-width]
- inherit
Initial Value
Based on individual properties
Applies To
All elements
Inherited
No
Media
Visual, Interactive
Example
button {outline: thick solid red;}
Loading Twitter