cssnext 是一个 CSS transpiler,允许你使用最新的 CSS 语法。cssnext 把 新 CSS 规范转换成兼容性更强的 CSS,所以不需要等待各种浏览器支持。
主要特性:
custom properties & var()
var()
reduced calc()
calc()
custom media queries
media queries ranges
custom selectors
automatic vendor prefixes
color() support
color()
gray() support
gray()
hwb() support
hwb()
hexa #rrggbbaa support
#rrggbbaa
rebeccapurple
:matches pseudo-class
:matches
:not pseudo-class (to l.3)
:not
font-variant (to font-feature-settings)
filters (svg fallback)
rem units fallback (to px)
rem
::pseudo syntax (: compat)
: