我该如何编写css来访问下面的类"total total_plus hidden_elem“或"total total_plus"?
我有class="total total_plus“和class="total total_plus_elem”,我需要通过css访问它们。访问它们的正确方式是什么?
.total total_plus
{
display:none;
}对我不起作用。
下面是我试图访问的内容的上下文:
<div class="bigbox">
<div class="full_widget">
<div class="connections">
<span class="total total_plus"></span>
<span class="total hidden_elem"></span>
</div>
</div>
</div>谢谢
发布于 2011-11-17 15:56:39
要做到这一点,CSS中的所有类都必须一个接一个地编写-没有空格。
.total.total_plus 和
.total.hidden_elemhttps://stackoverflow.com/questions/8163714
复制相似问题