but*_*bat 2 html css sass pseudo-class
难道我做错了什么?
CSS /上海社会科学院:
#section
  article
   border-top: 1px solid black
   &:first-child
     border: none !important
HTML/HAML:
#section
  %h2 title
   %article
    stuff here. There is still a top border here despite first-child style.
   %article
    stuff here.
   %article
    stuff here.
这不起作用,第一个仍有边界<article>.我必须创建另一个类,并article.noborder在第一篇文章中做一些没有边框的事情.任何帮助将不胜感激... css讨厌我.
| 归档时间: | 
 | 
| 查看次数: | 2573 次 | 
| 最近记录: |