文字颜色渐变
.text-clip{
color:transparent;
font-size: 40px;
font-weight: bold;
background: linear-gradient(45deg, rgba(0,173,181,1) 0%, rgba(0,173,181,.4) 100%);
-webkit-background-clip: text;
}
文字模糊
.text-blurry{
text-align: center;
color: transparent;
text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
空心文字
.hollow-text {
color: #fff;
text-shadow: 0 0 2px rgba(0, 173, 181, .2882),
0 0 2px rgba(0, 173, 181, .2882),
0 0 2px rgba(0, 173, 181, .2882),
0 0 2px rgba(0, 173, 181, .2882),
0 0 2px rgba(0, 173, 181, .2882),
0 0 2px rgba(0, 173, 181, .2882),
0 0 2px rgba(0, 173, 181, .2882),
0 0 2px rgba(0, 173, 181, .2882),
0 0 2px rgba(0, 173, 181, .2882);
}
文字外发光
.glow-text{
line-height:60px;
background: #00adb5;
color:#fff;
text-align: center;
text-shadow: 0 0 0.1em, 0 0 0.3em;
}
文字阴影
.text-shadow{
color:#00adb5;
text-shadow: 1px 1px rgba(0,173,181,.2882),
2px 2px rgba(0,173,181,.2882),
3px 3px rgba(0,173,181,.2882),
4px 4px rgba(0,173,181,.2882);
}
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有