【问题标题】:how to make rgba in Stylus如何在 Stylus 中制作 rgba 【发布时间】:2015-12-21 18:23:43 【问题描述】: 大家好,我是 Stylus 的新手,想知道如何制作 rgba 颜色 在 Less 中,你可以使用 fade(@color, 10%) 我怎样才能用 Stylus 做到这一点? 少 background-color: fade(#ccc, 10%); 【问题讨论】: 标签: css stylus 【解决方案1】: 只要rgba(): background-color: rgba(#ccc, 10%); 【讨论】: