相关疑难解决方法(0)

Sass - 操纵继承的财产?

在Sass中,是否有可能操纵给定元素已经继承的值?

我的目标是这样的:

body
  color: blue
  .warning
    color: red

strong
  color: darken(inherit,20)
Run Code Online (Sandbox Code Playgroud)

sass

37
推荐指数
3
解决办法
2万
查看次数

标签 统计

sass ×1