normalizePositions
对 background
、background-position
、-webkit-perspective-origin
和 perspective-origin
属性中的 position
值进行规范化。
示例
输入
.box {
background: 30% center / 50% 50%;
}
输出
.box {
background: 30% / 50% 50%;
}
对 background
、background-position
、-webkit-perspective-origin
和 perspective-origin
属性中的 position
值进行规范化。
.box {
background: 30% center / 50% 50%;
}
.box {
background: 30% / 50% 50%;
}