以下代码在Chrome上运行完美,但在Mozilla上不起作用,请尽快检查并回复,提前致谢。
我的HTML代码如下:
这是我的网站链接:http://creativeapes.net/#about-us,与IT技术有关。
<div class="about-bg">
<div class="about-us-heading">About<br>The Apes</div>
</div>
我的CSS代码:
.about-bg {
background-color: #fff;
float: left;
margin-right: 90px;
padding: 80px 20px 40px 0;
}
.about-us-heading {
font-size: 92px;
text-transform: uppercase;
font-family: 'Lato', sans-serif;
font-weight: 900;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-image: url("http://creativeapes.net/wp-content/uploads/2016/02/building-back.jpg");
background-position: -1px -82px;
background-repeat: no-repeat;
line-height: 95px;
}
这是我的网站链接:http://creativeapes.net/#about-us,与IT技术有关。