Contour (outline) is drawn around a line element located in a peripheral edge of the frame, projecting elements may function.
Contour (outline) of the profile element attribute specifies the style, color and width.
Contour (outline) Example
Draw a line around the element
of the present Example demonstrates the use of the outline property draw a line around the element.
Set outline style
This example demonstrates how to set the style profile.
Set an outline color
This example demonstrates how to set the color of the outline.
Profiled in width
This example demonstrates how to set the width of the outline.
CSS profile (outline)
Contour (outline) is drawn around a line element located in a peripheral edge of the frame, projecting elements may function.
CSS outline attribute specifies the style, color and width of the element profile.
All CSS profile (outline) properties
"CSS" column number to indicate which CSS version the property is defined (CSS1 or CSS2).
Attributes | Explanation | value | CSS |
---|---|---|---|
outline | Set all the outline properties in one declaration | outline-color outline-style outline-width inherit |
2 |
outline-color | Set the color profile | color-name hex-number rgb-number invert inherit |
2 |
outline-style | Set the style outline | none dotted dashed solid double groove ridge inset outset inherit |
2 |
outline-width | Profiled in width | thin medium thick length inherit |