开发者

SASS: Direct Descendent rule?

How 开发者_C百科do I represent a direct descendent CSS rule in SASS?

Ex.

body > div { ... }

Couldn't seem to find it in the docs: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html


You should just be able to

body
  >div
    property:value

You may have to escape the > with a backslash \.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜