padding 的值,不能为负数。
使用 absolute 后,在定义好 width 和 height ,使用 border 的 width 和 height 会变大、变宽。
设置好看的细线
.thinBorder:after{
content: '';
立即学习“前端免费学习笔记(深入)”;
width: 100%;
display: block;
border-top: 1px solid #ccc;
position: absolute;
left: 0;
bottom: 0px;
-webkit-transform: scaleY(0.5);
-webkit-transform-origin: 0% 0%;
}
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号