标签:round 文字 sdn css back rom linear bottom tom
-webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0%, transparent), to(rgba(250,250,250,0.1)));
-webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0%, transparent), to(rgba(250, 250, 250, .1)));
background: #080808;
-webkit-background-clip: text;
/* 以上两个原理,利用文字当蒙板,反向透出背景色,然后背景色想怎么渐变怎么渐变,设置成图片都没问题 */
-webkit-text-fill-color: transparent;
/* 给文字做镂空效果 */
text-shadow: 1px 1px #ff696a, -1px -1px #ff696a, 1px -1px #ff696a, -1px 1px #ff696a, 0 0.06rem 0.06rem #fc842c;
-webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0%, transparent), to(rgba(250, 250, 250, .1)));
background: -webkit-linear-gradient(top, #FFEB3B 37%,#009688 66%,#FFC107 65%,#FFEB3B 100%);
/* 实际是背景色渐变,但是只展示文字区域的背景色。此时的文字不是文字,而是文字外形构成并透出的背景色 */
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
标签:round 文字 sdn css back rom linear bottom tom
原文地址:https://www.cnblogs.com/padding1015/p/9550178.html