[英]CSS: increase the gap between the outline and border of div
Am stack!... Is there a way to increase the gap between the outline
(overall line) and the border
( div
's immediate line) ? 是堆栈!...有没有办法增加
outline
(整体线)和border
( div
的立即线)之间的距离?
For instance, I got: 例如,我得到了:
[CODE] [码]
<div style="border:5px solid red; outline:3px solid green \\--->GAP ?; >
//Inside Div
|---------------`OutLine`--------------------
-------> *this GAP*
|-------------------`border`--------------------
|---------------`<div>`--------------------|
使用outline-offset
属性— JSFiddle
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.