This is a complete reference guide for web developers where we have listed all the CSS properties related to outlines defined in the World Wide Web Consortium's Recommended Specification for Cascading Style Sheets, Level 2.
Click any property to see its description with examples −
Sr.No. | Property & Description |
---|---|
1 | outline
The outline property is a shorthand property to specify all outline properties. |
2 | outline-color
The outline-color property is used to specify the color of the outline. Note that, unlike the border property, outline does not take up extra space and it can be non-rectangular. |
3 | outline-color-style
The outline-style property is used to specify the style of the outline. Note that, unlike the border property, outline does not take up extra space and it can be non-rectangular. |
4 | outline-width
The outline-color property is used to specify the color of the outline. Note that, unlike the border property, outline does not take up extra space and it can be non-rectangular. |