英[ˈaʊtlaɪn] US[ˈaʊtˌlaɪn]

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

vt. Overview; outline; outline, sketch, sketch

Third person singular: outlines Plural: outlines Present participle: outlining Past tense: outlined Past participle: outlined

css outline property syntax

Function:is a line drawn around the element, located outside the edge of the border, which can highlight the element.

Description:outline shorthand attribute sets all outline attributes in one statement. The following properties can be set in order: outline-color, outline-style, outline-width. If you do not set one of the values, there will be no problem. For example, outline:solid #ff0000; is also allowed.

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

css outline property example

    

注释:只有在规定了 !DOCTYPE 时,Internet Explorer 8 (以及更高版本) 才支持 outline 属性。


Run instance »

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


##