左右渐变
background: linear-gradient(to right, #f9ca3a, #f7941f);
从中间向两边渐变
background: linear-gradient(to right, rgba(251, 225, 174, .5) 0%, rgba(251, 225, 174, 1) 50%, rgba(251, 225, 174, .5) 100%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
网友评论