SASS:直接后代规则?

如何在SASS中表示直接后代CSS规则?

例如

body > div { ... }

似乎无法在文档中找到它:http : //sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html

Jim理查德猿2020/03/19 14:21:55

您应该能够

body
  >div
    property:value

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