正規化重複樣式 (normalizeRepeatStyle)
盡可能將 `background-repeat` 的兩個值的語法簡化為單個值的語法,在屬性本身和 `background` 簡寫屬性中皆適用。也適用於 `mask-repeat`。
範例
輸入
.box {
background-repeat: no-repeat repeat;
}
輸出
.box {
background-repeat: repeat-y;
}
盡可能將 `background-repeat` 的兩個值的語法簡化為單個值的語法,在屬性本身和 `background` 簡寫屬性中皆適用。也適用於 `mask-repeat`。
.box {
background-repeat: no-repeat repeat;
}
.box {
background-repeat: repeat-y;
}