我只是复制了示例站点中的代码:
.ct, .cb, .cr, .cl {
background-color: #e79d80;
position: fixed;
z-index: 99999;
}
.ct {
top: 0;
right: 0;
left: 0;
height: 12px;
}
.cr {
top: 0;
right: 0;
bottom: 0;
width: 12px;
}
.cb {
bottom: 0;
right: 0;
left: 0;
height: 12px;
}
.cl {
top: 0;
left: 0;
bottom: 0;
width: 12px;
}
<div class="ct"></div>
<div class="cr"></div>
<div class="cb"></div>
<div class="cl"></div>
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句