css outline-color property


  Translation results:

outline

English [ˈaʊtlaɪn] American [ˈaʊtˌlaɪn]

n. Outline, outline, outline, draft, key points, main principles; appearance, Outline, contour line, outline drawing method, sketch (drawing method)

vt. Overview; outline; outline, sketch, outline

Third person singular: outlines Plural: outlines Now Participle: outlining Past tense: outlined Past participle: outlined

color

## English['kʌlə(r)] US[ˈkʌlɚ]

n. <Beauty>Color, color; skin color, complexion, blood color; pigment, dye; essence Color; blush

Third person singular: colors Plural: colors Present participle: coloring Past tense: colored Past participle: colored

css outline-color propertysyntax

Function:Set the color of the visible part of the entire outline of an element. Remember, the outline style cannot be none, otherwise the outline will not appear.

Note: Always declare the outline-style attribute before the outline-color attribute. The color of an element's outline can only be changed after it has obtained its outline.

Note: Contour lines do not occupy space and are not necessarily rectangular.

css outline-color propertyexample

<!DOCTYPE>
<html>
<head>
<style type="text/css">
p 
{
border:red solid thin;
outline-style:dotted;
outline-color:#00ff00;
}
</style>
</head>

<body>
<p><b>注释:</b>只有在规定了 !DOCTYPE 时,Internet Explorer 8 (以及更高版本) 才支持 outline-color 属性。</p>
</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A