我有以下的HTML代码:与CSS的位置链接?
<div class="impressum">
<a class="impressumstyle" href="https://www.google.de/?gws_rd=ssl">Impressum</a>
</div>
在我的CSS文件:
.impressum {
position: relative;
left: 20px;
top: 275px;
background: transparent;
text-align: left;}
.impressumstyle {
font-family: Verdana;
font-style: normal;
font-weight: bold;
font-size: 16px;
color: #fff;
text-decoration: none;}
.impressumstyle:hover {
color: #8d8d8d;}
我的问题是,该链接,当我在.impressum使用最高值,不工作了。它不会再改变它的颜色了。问题在哪里? 谢谢。
它似乎正常工作:https://jsfiddle.net/b9ku0xj0/ – Roy
我会再次。 –