Linuxeden 开源社区 --
Sass 3.5.0 和 3.5.1 已发布。Sass 扩展了 CSS3,增加了规则、变量、混入、选择器、继承等等特性。Sass 生成良好格式化的 CSS 代码,易于组织和维护。
有如下更新:
3.5.1 (13 July 2017)
- 使用
listen
gem 包时,避免冲突
3.5.0 (12 July 2017)
- Default to ten digits of numeric precision.
- Combine ids and
:root
when unifying selectors with@extend
and selector functions. - It’s no longer an error to
@extend
a selector that exists in the stylesheet, but for which unification fails. - Add a
$weight
parameter toinvert()
. - The last argument in an argument list can now have a trailing comma.
- Allow
var()
to be passed torgb()
,rgba()
,hsl()
, andhsla()
. - Add support for the
::slotted()
pseudo-element.
不向后兼容 —— 必读!
- 为了更好地对应于 CSS 规范,处理 CSS 变量 的方式已更改。它们不再允许它们的值出现任意的 SassScript;相反,属性值中的几乎所有文本都不变地传递到 CSS。唯一的例外是
#{}
,它将像以前一样注入一个 SassScript 值。
转自 http://ift.tt/2umEmgv
The post Sass 3.5.0 和 3.5.1 发布,CSS 框架 appeared first on Linuxeden开源社区.
http://ift.tt/2t382LK
没有评论:
发表评论