swc/crates/swc_css_minifier/tests/fixture/compress-calc/add-sub/input.css
2022-10-12 10:03:14 +00:00

36 lines
507 B
CSS

.class1 {
width: calc(100% - 10px + 20px);
}
.class2 {
width: calc(100% + 10px - 20px);
}
.class3 {
width: calc(1px - (2em + 3%));
}
.class4 {
width: calc((100vw - 50em) / 2);
}
.class5 {
width: calc(10px - (100vw - 50em) / 2);
}
.class6 {
width: calc(1px - (2em + 4vh + 3%));
}
.class7 {
width: calc(0px - (24px - (var(--a) - var(--b)) / 2 + var(--c)));
}
.class8 {
width: calc(1px + (2em + (3vh + 4px)));
}
.class9 {
width: calc(1px - (2em + 4px - 6vh) / 2);
}