The outline-width value in css outline is used as length. It is best to have an example
<!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>
XML/HTML code?123456789101112131415
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