CSS2 - Outlines Properties


Advertisements


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 −

Property Description

outline

The outline property is a shorthand property to specify all outline properties.

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.

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.

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.

css_references.htm

Advertisements