m3h*_*hdi 0 html css colors hyperlink
我想在此代码中将h3链接的颜色更改为红色:
<div class="news_headline">
<h3 class="breaking"><a href="#">title</a></h3>
</div>
Run Code Online (Sandbox Code Playgroud)
我将css更改为:
a.breaking {
padding-right: 40px;
background: url('../images/icons/news_breaking.png') right center no-repeat;
color: red;
}
Run Code Online (Sandbox Code Playgroud)
但它不起作用!它显示标题为蓝色!这是我改变的css: