文字剪辑背景

作者:夏雨芭蕉时间:2016-05-10 13:28:13 浏览量:

http://www.topthink.com/tag/product/thinkphp.html


<h1>THINKPHP</h1>

h1{
    margin: 0;
    padding: 0 0 20px;
    font-size: 180px;
    line-height: 180px;
    letter-spacing: -1px;
    color: #f00;
    -webkit-font-smoothing: antialiased;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAHklEQVQIW2NkQAU+jEh8HyB7C0wAzAFJggTgHJAAAFXuA1E5qtLyAAAAAElFTkSuQmCC);
    background-image:none\0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}


上一篇>>css媒体查询

下一篇>>css 模糊效果

Copyright © 2016 Allister All Rights Reserved