mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-08 11:34:45 +08:00
Update values-4.vim
https://www.w3.org/TR/2020/WD-css-values-4-20201111/
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(vi\|vb\|ic\|cap\|lh\|rlh\)"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|toggle\)\s*(" end=")" oneline keepend
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend
|
||||
|
||||
@@ -1161,6 +1161,23 @@ view {
|
||||
display: max(0, 1);
|
||||
display: clamp(0, 100, 2);
|
||||
display: toggle(italic, normal);
|
||||
display: round(var(--width), 50px);
|
||||
display: mod(-18px, 5px);
|
||||
display: rem(-18px, 5px);
|
||||
display: sin(45deg);
|
||||
display: cos(1);
|
||||
display: tan(1);
|
||||
display: asin(45deg);
|
||||
display: acos(1);
|
||||
display: atan(1);
|
||||
display: atan2(1, -1);
|
||||
display: pow(1.5, -1);
|
||||
display: sqrt(4);
|
||||
display: hypot(30px, 40px);
|
||||
display: log(10);
|
||||
display: exp(1);
|
||||
display: abs(-1);
|
||||
display: sign(-4);
|
||||
}
|
||||
|
||||
.variables-1 {
|
||||
|
||||
Reference in New Issue
Block a user