What is CSS outline?

(*-*)浩
Release: 2019-12-25 15:18:22
Original
4412 people have browsed it

What is CSS outline?

The outline is a line drawn around an element, located outside the edge of the border, which can highlight the element.

The outline attribute specifies the style, color, and width of the element's outline.(Recommended learning:CSS tutorial)

# CSS contour (outline)

(outline) is a piece drawn around the element Lines, located on the periphery of the border edge, serve to highlight elements.

The CSS outline property specifies the style, color, and width of an element's outline.

What is CSS outline?

#This example demonstrates using the outline attribute to draw a line around an element.

    菜鸟教程(runoob.com)  

注意: 如果只有一个 !DOCTYP E指定 IE8 支持 outline 属性。

Copy after login

The above is the detailed content of What is CSS outline?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
css
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!