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 \
.
精彩评论