父Div选择器不继承

时间:2015-02-06 19:31:49

标签: html css

我尝试选择mouse-ico h5的子选择器,但它似乎忽略了它的'父母。我对此有何误解?



.mouse-ico>h5 {
  font-weight: 600 !important;
  color: #009587 !important;
}

<div class="mouse-scroll-cont">
  <div class="mouse-ico">
    <h5>Scroll for More Information</h5>
    <img src="sites/all/themes/ft_custom/assets/ico-mouse.png" alt="Scroll Icon">
  </div>
</div>
&#13;
&#13;
&#13;

0 个答案:

没有答案