What is the outline in CSS
This article mainly shows you "what is the outline in CSS", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "what is the outline in CSS" this article.
The outline is a line drawn around the element, located on the periphery of the edge of the border, and can highlight the element.
The outline attribute specifies the style, color, and width of the outline of the element. (recommended: CSS tutorial)
CSS profile (outline)
The outline is a line drawn around the element, located on the periphery of the edge of the border, and can highlight the element.
The CSSoutline attribute specifies the style, color, and width of the outline of the element.
Css-7.gif
This example demonstrates using the outline attribute to draw a line around an element.
Rookie course (runoob.com) p {border:1pxsolidred; outline:greendottedthick;}
Note: if there is only one! DOCTYPE specifies that the IE8 supports the outline attribute.
The above is all the content of the article "what is the outline in CSS". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!