Home > Web Front-end > HTML Tutorial > The outline-width value in the css outline is length usage_html/css_WEB-ITnose

The outline-width value in the css outline is length usage_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:19:50
Original
1389 people have browsed it

The outline-width value in css outline is used as length. It is best to have an example


Reply to the discussion (solution)

<!DOCTYPE html><html lang="zh-cn"><head><meta charset="utf-8" /><title>outline-width_CSS参考手册_web前端开发参考手册系列</title><meta name="author" content="Joy Du(飘零雾雨), dooyoe@gmail.com, www.doyoe.com" /><style>.test{width:200px;padding:10px;outline-width:10px;outline-style:solid;outline-color:#f00;border:3px solid #333;}</style></head><body><div class="test">注意边框线外面的红色轮廓<br />outline-width:10px;</div></body></html>			
Copy after login

PS, IE6/ 7 is not supported.

XML/HTML code?123456789101112131415 outline-width_CSS Reference Manual_Web Front-End Development Reference Manual Series
Please solve it

Quoting the reply from shn11160 on the 1st floor: You didn’t use length
I’m confused! Length is a form, which means that it can be replaced by a specific “numeric value” and “unit”,
For example: 10px is a length, it can also be 10pt, 100em, etc.
Length is like x and other variables in a mathematical equation, and 10px and so on are specific

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template