0
我的页面这样的事情了:文字阴影略低于文本
<h1 class="page-header">Some text</h1>
和CSS是:
font-size: 60px;
text-transform: uppercase;
text-align: center;
color: #61430c;
font-weight: 700;
margin: 0 0 100px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
background: -webkit-linear-gradient(-89deg, #7D570F 38%, #452E00 56%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
是否有可能添加文本下有阴影只是看起来像简单的所迷离线?谢谢。
确实[文字阴影(https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow)属性你不胜任这项工作? – Harry 2014-09-21 11:24:15
@Harry,而不是-webkit-text-fill-color。 – Shomz 2014-09-21 11:34:15
有问题,我需要像“简单的模糊规则”像阴影更像盒子影子 – Geril 2014-09-21 11:37:06