Skip to content

Commit e8202fb

Browse files
committed
1 parent 17624f5 commit e8202fb

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

after/syntax/css/values-5.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(\(media\|container\)-\)\=progress\|\(\(calc\|transform\)-\)\=mix\|cross-fade\|toggle\)\s*(" end=")" oneline keepend

test/test.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,18 @@ view {
13531353
display: sign(-4);
13541354
}
13551355

1356+
.values-5 {
1357+
display: progress(1, 0, 100);
1358+
display: media-progress(width, 0, 100);
1359+
display: container-progress(width, 0, 100);
1360+
display: calc-mix(0.5, 0, 100);
1361+
display: color-mix(15%, black, white);
1362+
display: transform-mix(1, scale(0.5), rotate(10deg));
1363+
display: mix(90%, red, blue);
1364+
display: cross-fade(15%, url(foo.png), white);
1365+
display: toggle(italic, normal);
1366+
}
1367+
13561368
.variables-1 {
13571369
display: auto;
13581370
}

0 commit comments

Comments
 (0)