【发布时间】:2017-07-29 17:11:45
【问题描述】:
我有以下部分,其中包含具有高透明度的 png 背景图像。我这样做是因为我不知道如何使用不透明度功能。我什至未能使悬停链接颜色更改起作用。我猜css语法有问题。
无论如何,我真正想要的是在鼠标经过链接时关闭背景图像的不透明度。我该怎么做?
https://jsfiddle.net/h0b8e3t2/
<!-- Jobs -->
<section id="jobs" class="wrapper style5">
<div class="inner">
<a href="#" target="new"><p><strong>Would You Like To Join Our Team?</strong></p></a>
</div>
</section>
.wrapper.style5 {
background-color: #fcf3f7;
background-image: url("/images/join.png");
background-repeat: repeat-y;
background-size: contain;
border-style:solid none none none;
border-width: 1,5px;
border-color: #a4a4a4;
text-align: center;
font-size: 50px;
line-height: 120%;
color: #fff;
}
#jobs .wrapper.style5:hover {color:#fff}
【问题讨论】: