CSS工具样式
Sonder
2020-10-07
344字
1分钟
浏览 (2.3k)
实现下划线比文字短
https://blog.csdn.net/yaoqiuquan/article/details/84102293
.head_line:after{
content:"";
display:block;
width:30px;
border-bottom:2px solid #ff3700;
margin: 0 auto;
}
背景有透明度但文字不透明
/*background: #26272d;*/
background-color: rgba(38, 39, 45, 0.7);
position: relative;
/*opacity: 0.7;*/
filter: Alpha(opacity=70);