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
WBOYOriginal
2016-06-24 12:19:501406browse

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>			

PS, IE6/ 7 is not supported.

XML/HTML code?1234567891011121314158b05045a5be5764f313ed5b9168a17e6b0af4c405c16b766c0529255680204e293f0f5c25f18dab9d176bd4f6de5d30e37c4eb5109be9bfa4ea9e5c231a37be0b2386ffb911b14667cb8f0f91ea547a7 outline-width_CSS Reference Manual_Web Front-End Development Reference Manual Series6e916e0f7d1e588d4f442bf645aedb2f
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

Statement:
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