mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 11:14:25 +08:00
Compare commits
191 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
158c39b3ee | ||
|
|
5c104fcfee | ||
|
|
bbf675f5fd | ||
|
|
87283273b0 | ||
|
|
329a8f8bdf | ||
|
|
529d0f5c5a | ||
|
|
77022dc970 | ||
|
|
0318de664c | ||
|
|
090a873101 | ||
|
|
9a24ae3c6f | ||
|
|
cb69880032 | ||
|
|
0e04cfbb09 | ||
|
|
3c4f1d2057 | ||
|
|
a60106e39b | ||
|
|
ba1986d07d | ||
|
|
671f8ea579 | ||
|
|
3d98523278 | ||
|
|
b8c1fa4623 | ||
|
|
05b11eb4a0 | ||
|
|
b9921e5062 | ||
|
|
90c47814cb | ||
|
|
b3e6a86d9d | ||
|
|
9d7741a59f | ||
|
|
479dc522a7 | ||
|
|
052c7459d0 | ||
|
|
ea7a9a2325 | ||
|
|
52a53e3fe6 | ||
|
|
8c32514b04 | ||
|
|
308b231f79 | ||
|
|
3d1487297d | ||
|
|
a9eba379a1 | ||
|
|
efdac10d73 | ||
|
|
c19f58b453 | ||
|
|
9de844a6a8 | ||
|
|
13469ac58b | ||
|
|
851fad4f69 | ||
|
|
1f1f2b252a | ||
|
|
565790d45d | ||
|
|
46bb23a763 | ||
|
|
be917f98bb | ||
|
|
3992f2254a | ||
|
|
53c2606574 | ||
|
|
b31ab2c3c7 | ||
|
|
5361a81b52 | ||
|
|
63136b80f0 | ||
|
|
9b0a104f17 | ||
|
|
f548cf1f61 | ||
|
|
4b04851c40 | ||
|
|
fc0b368942 | ||
|
|
ec0f9fde01 | ||
|
|
6ec93fe239 | ||
|
|
d23bfc5841 | ||
|
|
b693202398 | ||
|
|
71d2416832 | ||
|
|
058c8141e3 | ||
|
|
cfe5fae3b8 | ||
|
|
4bea539df0 | ||
|
|
c3793de3f5 | ||
|
|
6b36c31304 | ||
|
|
e9bba514fd | ||
|
|
4a3c90092d | ||
|
|
d1b62f70e7 | ||
|
|
64ad3eaec3 | ||
|
|
a2e644f632 | ||
|
|
7df74cc2e0 | ||
|
|
0a84e0bb38 | ||
|
|
82afdcdc63 | ||
|
|
7f1c068e64 | ||
|
|
6aa08ed7a8 | ||
|
|
444215b6fd | ||
|
|
246cc6e099 | ||
|
|
5540e02485 | ||
|
|
1a895dc088 | ||
|
|
841e4bb515 | ||
|
|
0ac0b4ca08 | ||
|
|
da60696e7b | ||
|
|
f3de982f44 | ||
|
|
6fab44a6c4 | ||
|
|
a72b347b75 | ||
|
|
213ac91578 | ||
|
|
bbfd67f785 | ||
|
|
0e25532d8a | ||
|
|
e74a5c6940 | ||
|
|
47f59169c0 | ||
|
|
cdbc9512db | ||
|
|
cb426f77cf | ||
|
|
4cabff16d6 | ||
|
|
18d867b3b1 | ||
|
|
0b4b3219e1 | ||
|
|
be159483e9 | ||
|
|
fcb88f2110 | ||
|
|
1baaddd039 | ||
|
|
c1dc0b4c7c | ||
|
|
6ea52b468a | ||
|
|
5a004b69ad | ||
|
|
750667a312 | ||
|
|
ab5722664a | ||
|
|
7099472463 | ||
|
|
331f244564 | ||
|
|
0e7167b160 | ||
|
|
96ae247194 | ||
|
|
a8545763fe | ||
|
|
ac0823e31b | ||
|
|
5a816e9569 | ||
|
|
11234a106c | ||
|
|
1043cc17af | ||
|
|
6a5285ba3c | ||
|
|
7ca800647c | ||
|
|
790e68661f | ||
|
|
b3c992b4f5 | ||
|
|
75fb895763 | ||
|
|
7a6a010fd8 | ||
|
|
f467f96911 | ||
|
|
f0d6e95e7e | ||
|
|
0d27605a19 | ||
|
|
f13a51f51d | ||
|
|
a5cacf8839 | ||
|
|
d0e4091e57 | ||
|
|
a1b7e3e0f4 | ||
|
|
d9ec9eeeec | ||
|
|
84b98663ec | ||
|
|
3018a7e3ae | ||
|
|
5deaa67782 | ||
|
|
c39cc87a12 | ||
|
|
7ccfd713c1 | ||
|
|
283c8447cd | ||
|
|
11c2d059f0 | ||
|
|
4c478d0373 | ||
|
|
e5e2662f56 | ||
|
|
4f0f6717cf | ||
|
|
5e9d081260 | ||
|
|
77a3fb8386 | ||
|
|
2c75d94fc8 | ||
|
|
a916d1e5d2 | ||
|
|
6e2f05fb29 | ||
|
|
6a677287df | ||
|
|
2714472120 | ||
|
|
ab4ce39f68 | ||
|
|
de8b85301d | ||
|
|
0c33e55d36 | ||
|
|
2a59a029d1 | ||
|
|
036ac88f82 | ||
|
|
7e863a82ba | ||
|
|
5f1c2f4cfe | ||
|
|
24df990311 | ||
|
|
2017ababce | ||
|
|
9caf119a57 | ||
|
|
c61637cc7a | ||
|
|
d852533256 | ||
|
|
6f5b17688c | ||
|
|
d65cd9c88e | ||
|
|
107e3bd060 | ||
|
|
c975bde063 | ||
|
|
69b55bf234 | ||
|
|
241f57e057 | ||
|
|
14f6b95d25 | ||
|
|
f483738520 | ||
|
|
6253d1b746 | ||
|
|
75322b91a1 | ||
|
|
496f27aaf3 | ||
|
|
dcd7e3dca8 | ||
|
|
8aee9a339d | ||
|
|
c1f03abe28 | ||
|
|
81364390d3 | ||
|
|
70cb73d4d8 | ||
|
|
cf953ffa27 | ||
|
|
1e61ba9b5d | ||
|
|
e4f8096b95 | ||
|
|
ba724e7725 | ||
|
|
037c11a418 | ||
|
|
6c4e888d30 | ||
|
|
ac5da79ba0 | ||
|
|
9f8026cdc7 | ||
|
|
0c7d58818c | ||
|
|
7eaca88c16 | ||
|
|
cfaa56b81b | ||
|
|
d467649124 | ||
|
|
c67661a5df | ||
|
|
566c51cc9e | ||
|
|
d733704733 | ||
|
|
c9c7ec3896 | ||
|
|
bdfc1fde87 | ||
|
|
29ade81400 | ||
|
|
c5ea01f581 | ||
|
|
a383e34b23 | ||
|
|
a0d55ac3aa | ||
|
|
dc7b427e5b | ||
|
|
22c5e8078d | ||
|
|
84c88ac746 | ||
|
|
af915e056e | ||
|
|
547e1de69f |
1
.github/FUNDING.yml
vendored
Normal file
1
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
github: [hail2u]
|
||||
@@ -8,7 +8,7 @@ CSS3 syntax (and syntax defined in some foreign specifications) support for
|
||||
INSTALLATION
|
||||
------------
|
||||
|
||||
I **strongly** recommend to install this plugin on *Vim 8.1 or higher with
|
||||
I **strongly** recommend to install this plugin on *Vim 8.2 or higher with
|
||||
default runtime files*.
|
||||
|
||||
|
||||
@@ -83,13 +83,13 @@ want to highlight Media Queries correctly, you must update Vim to 8.0+.
|
||||
AUTHOR
|
||||
------
|
||||
|
||||
Kyo Nagashima <hail2u@gmail.com> (https://kyonagashima.com/)
|
||||
Kyo Nagashima <hail2u@gmail.com> (https://hail2u.net/)
|
||||
|
||||
|
||||
LICENSE
|
||||
-------
|
||||
|
||||
MIT: http://hail2u.mit-license.org/2011
|
||||
MIT
|
||||
|
||||
|
||||
[1]: http://www.vim.org/
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
syn match cssBoxProp contained "\<margin-trim\>"
|
||||
syn match cssBoxAttr contained "\<in-flow\>"
|
||||
" These will be moved to block-3
|
||||
syn match cssBoxProp contained "\<clear-after\>"
|
||||
syn match cssBoxProp contained "\<float-displace\>"
|
||||
syn match cssBoxProp contained "\<indent-edge-reset\>"
|
||||
syn keyword cssBoxAttr contained scrollbar panner marquee decendants
|
||||
syn match cssBoxAttr contained "\<block-within-page\>"
|
||||
syn match cssBoxAttr contained "\<\(margin\|border\|padding\|content\)-edge\>"
|
||||
|
||||
2
after/syntax/css/box-4.vim
Normal file
2
after/syntax/css/box-4.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssBoxProp contained "\<margin-trim\>"
|
||||
syn match cssBoxAttr contained "\<in-flow\>"
|
||||
@@ -1,2 +0,0 @@
|
||||
syn keyword cssFontProp all
|
||||
syn keyword cssCommonAttr contained initial unset
|
||||
|
||||
1
after/syntax/css/cascade-5.vim
Normal file
1
after/syntax/css/cascade-5.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontAttr contained "\<revert-layer\>"
|
||||
0
after/syntax/css/cascade-6.vim
Normal file
0
after/syntax/css/cascade-6.vim
Normal file
@@ -1,2 +1,4 @@
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
|
||||
syn keyword cssFontAttr contained perceptual
|
||||
syn match cssFontAttr contained "\<\(relative\|absolute\)-colorimetric\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
|
||||
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
|
||||
1
after/syntax/css/color-5.vim
Normal file
1
after/syntax/css/color-5.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<color-\(mix\|contrast\)\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
|
||||
3
after/syntax/css/color-adjust-1.vim
Normal file
3
after/syntax/css/color-adjust-1.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn match cssColorProp contained "\<\(forced-\|print-\)\=color-adjust\>"
|
||||
syn match cssColorProp contained "\<color-scheme\>"
|
||||
syn keyword cssFontAttr contained economy exact
|
||||
@@ -1,3 +0,0 @@
|
||||
syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>"
|
||||
syn match cssColorProp contained "\<color-scheme\>"
|
||||
syn keyword cssFontAttr contained only economy exact
|
||||
0
after/syntax/css/conditional-4.vim
Normal file
0
after/syntax/css/conditional-4.vim
Normal file
1
after/syntax/css/conditional-5.vim
Normal file
1
after/syntax/css/conditional-5.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontDescriptor "@\(when\|else\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
1
after/syntax/css/contain-2.vim
Normal file
1
after/syntax/css/contain-2.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontProp contained "\<content-visibility\>"
|
||||
0
after/syntax/css/contain-3.vim
Normal file
0
after/syntax/css/contain-3.vim
Normal file
@@ -1,3 +1,3 @@
|
||||
syn keyword cssFontAttr contained contents discard
|
||||
syn match cssFontAttr contained "\<flow\(-root\)\=\>"
|
||||
syn match cssBoxAttr contained "\<ruby\(-\(base\(-group\)\=\|text\(-group\)\=\)\)\=\>"
|
||||
syn match cssBoxAttr contained "\<run-in\>"
|
||||
syn match cssBoxAttr contained "\<ruby\(-\(base\|text\)\)\=\>"
|
||||
|
||||
@@ -1,15 +1,19 @@
|
||||
syn match cssFontProp contained "\<font-\(min\|max\)-size\>"
|
||||
syn match cssFontProp contained "\<font-synthesis\(-\(weight\|style\|small-caps\|settings\)\)\=\>"
|
||||
syn match cssFontProp contained "\<font-named-instance\>"
|
||||
syn match cssFontProp contained "\<font-display\>"
|
||||
syn match cssFontProp contained "\<\(ascent\|descent\|line-gap\)-override\>"
|
||||
syn match cssFontProp contained "\<font-optical-sizing\>"
|
||||
syn match cssFontProp contained "\<font-variation-settings\>"
|
||||
syn match cssFontProp contained "\<font-palette\>"
|
||||
syn match cssFontProp contained "\<font-variant-emoji\>"
|
||||
syn match cssFontProp contained "\<font-presentation\>"
|
||||
syn match cssFontProp contained "\<base-palette\>"
|
||||
syn match cssFontProp contained "\<override-color\>"
|
||||
syn match cssFontProp contained "\<font-variant-emoji\>"
|
||||
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
|
||||
syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark
|
||||
syn match cssFontAttr contained "\<system-ui\>"
|
||||
syn match cssFontAttr contained "\<ui-\(\(sans-\)\=serif\|monospace\|rounded\)\>"
|
||||
syn match cssFontAttr contained "\<xxx-large\>"
|
||||
syn match cssFontAttr contained "\<historical-forms\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend
|
||||
" syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
syn match cssFontProp contained "\<grid-template\>"
|
||||
syn keyword cssFontAttr contained dense span
|
||||
syn match cssFontAttr contained "\<auto-flow\>"
|
||||
syn match cssValueNumber contained "[01]\(.\d\+\)\=fr"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
syn match cssValueNumber contained "\d\(.\d\+\)\=ar"
|
||||
|
||||
1
after/syntax/css/highlight-api-1.vim
Normal file
1
after/syntax/css/highlight-api-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\<highlight(" end=")" contains=cssStringQ,cssStringQQ
|
||||
@@ -1,6 +1,6 @@
|
||||
syn match cssFontProp contained "\<object-\(fit\|position\)\>"
|
||||
syn match cssFontProp contained "\<image-orientation\>"
|
||||
syn keyword cssFontAttr contained snap
|
||||
syn keyword cssFontAttr contained snap flip pixelated
|
||||
syn match cssFontAttr contained "\<scale-down\>"
|
||||
syn match cssFontAttr contained "\<from-image\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>"
|
||||
syn match cssFontProp contained "\<baseline-shift\>"
|
||||
syn match cssFontProp contained "\<baseline-\(shift\|source\)\>"
|
||||
syn match cssFontProp contained "\<text-edge\>"
|
||||
syn match cssFontProp contained "\<leading-trim\>"
|
||||
syn match cssFontProp contained "\<inline-sizing\>"
|
||||
syn match cssFontProp contained "\<initial-letters\(-\(align\|wrap\)\)\="
|
||||
syn keyword cssFontAttr contained mathematical ideographic
|
||||
syn match cssFontProp contained "\<initial-letter\(-\(align\|wrap\)\)\=\>"
|
||||
syn keyword cssFontAttr contained central mathematical leading cap ex drop raise
|
||||
syn match cssFontAttr contained "\<ideographic\(-ink\)\=\>"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
" WD-css-lists-3-20190817
|
||||
syn match cssGeneratedContentProp contained "\<marker-side\>"
|
||||
syn match cssGeneratedContentProp contained "\<counter-set\>"
|
||||
syn keyword cssGeneratedContentAttr contained marker
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
syn match cssFontProp contained "\<\(\(min\|max\)-\)\=\(block\|inline\)-size\>"
|
||||
syn match cssFontProp contained "\<\(margin\|inset\|padding\)\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
|
||||
syn match cssFontProp contained "\<\(margin\|padding\)\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
|
||||
syn match cssFontProp contained "\<border-\(block\|inline\)\(\(-\(start\|end\)\)\=\(-\(width\|style\|color\)\)\=\)\=\>"
|
||||
syn match cssFontProp contained "\<border-\(start\|end\)-\(start\|end\)-radius\>"
|
||||
syn keyword cssFontAttr contained logical physical rotate
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\)\>"
|
||||
syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\|function\)\>"
|
||||
syn keyword cssFontAttr contained focus
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
syn keyword cssFontProp contained continue
|
||||
syn match cssFontProp contained "\<block-overflow\>"
|
||||
syn match cssFontProp contained "\<overflow-\(clip-margin\|block\|inline\)\>"
|
||||
syn match cssFontProp contained "\<scrollbar-gutter\>"
|
||||
syn match cssFontProp contained "\<block-ellipsis\>"
|
||||
syn match cssFontProp contained "\<line-clamp\>"
|
||||
syn match cssFontProp contained "\<max-lines\>"
|
||||
syn match cssFontProp contained "\<overflow-\(block\|inline\)\>"
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
syn match cssFontProp contained "\<scrollbar-gutter\>"
|
||||
syn keyword cssFontAttr contained stable force overflow paginate fragments
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth-fragment\)(" end=")" oneline
|
||||
|
||||
1
after/syntax/css/overscroll-1.vim
Normal file
1
after/syntax/css/overscroll-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontProp contained "\<overscroll-behavior\(-\(block\|inline\|x\|y\)\)\=\>"
|
||||
@@ -1,2 +1,2 @@
|
||||
syn match cssFontProp contained "\<offset-\(before\|end\|after\|start\)\>"
|
||||
syn match cssFontProp contained "\<inset\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
|
||||
syn keyword cssFontAttr contained sticky
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained syntax inherits
|
||||
syn match cssFontProp contained "\<initial-value\>"
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
syn match cssPseudoClassId contained "\<inactive-selection\>"
|
||||
syn match cssPseudoClassId contained "\<target-text\>"
|
||||
syn match cssPseudoClassId contained "\<\(spelling\|grammer\)-error\>"
|
||||
syn match cssPseudoClassId contained "\<file-selectors-button\>"
|
||||
|
||||
0
after/syntax/css/resize-observer-1.vim
Normal file
0
after/syntax/css/resize-observer-1.vim
Normal file
@@ -1,4 +1,4 @@
|
||||
" TODO: create cssRubyProp group and cssRubyAttr group
|
||||
syn match cssFontProp contained "\<ruby-\(position\|merge\|align\)"
|
||||
syn match cssFontProp contained "\<ruby-\(position\|merge\|align\|overhang\)"
|
||||
syn keyword cssFontAttr contained merge
|
||||
syn match cssFontAttr contained "\<ruby-\(base\|text\)-container\>"
|
||||
syn match cssFontAttr contained "\<inter-character\>"
|
||||
|
||||
1
after/syntax/css/scroll-anchoring-1.vim
Normal file
1
after/syntax/css/scroll-anchoring-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontProp contained "\<overflow-anchor\>"
|
||||
1
after/syntax/css/scrollbars-1.vim
Normal file
1
after/syntax/css/scrollbars-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontProp contained "\<scrollbar-\(color\|width\)\>"
|
||||
@@ -1,10 +1,12 @@
|
||||
syn match cssSelectorOp "[|]"
|
||||
syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused
|
||||
syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused defined modal fullscreen seeking buffering stalled muted autofill
|
||||
syn match cssPseudoClassId contained "\<\(any\|local\)-link\>"
|
||||
syn match cssPseudoClassId contained "\<read-\(only\|write\)\>"
|
||||
syn match cssPseudoClassId contained "\<placeholder-shown\>"
|
||||
syn match cssPseudoClassId contained "\<\(in\|out-of\)-range\>"
|
||||
syn match cssPseudoClassId contained "\<user-invalid\>"
|
||||
syn match cssPseudoClassId contained "\<user-\(invalid\|valid\)\>"
|
||||
syn match cssPseudoClassId contained "\<target-within\>"
|
||||
syn match cssPseudoClassId contained "\<focus-\(within\|visible\)\>"
|
||||
syn match cssPseudoClassId contained "\<picture-in-picture\>"
|
||||
syn match cssPseudoClassId contained "\<volume-locked\>"
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(is\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline
|
||||
|
||||
3
after/syntax/css/sizing-4.vim
Normal file
3
after/syntax/css/sizing-4.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn match cssFontProp contained "\<contain-intrinsic-size\>"
|
||||
syn match cssFontProp contained "\<min-intrinsic-sizing\>"
|
||||
syn match cssFontAttr contained "\<zero-if-\(scroll\|extrinsic\)\>"
|
||||
6
after/syntax/css/speech-1.vim
Normal file
6
after/syntax/css/speech-1.vim
Normal file
@@ -0,0 +1,6 @@
|
||||
syn match cssAuralProp contained "\<voice-\(volume\|balance\|rate\|pitch\|range\|stress\|duration\)\>"
|
||||
syn match cssAuralProp contained "\<rest\(-\(before\|after\)\)\=\>"
|
||||
syn keyword cssAuralAttr contained young old neutral preserve moderate reduced
|
||||
syn match cssAuralAttr contained "\<\(literal\|no\)-punctuation\>"
|
||||
syn match cssAuralAttr contained "\<\(x-\)\=\(weak\|strong\)\>"
|
||||
syn match cssValueNumber contained "[-+]\=\d\+\(dB\|st\)"
|
||||
@@ -1,9 +1,6 @@
|
||||
syn keyword cssTextProp contained hyphens
|
||||
syn match cssTextProp contained "\<line-break\>"
|
||||
syn match cssTextProp contained "\<overflow-wrap\>"
|
||||
syn match cssTextProp contained "\<tab-size\>"
|
||||
syn match cssTextProp contained "\<text-align-all\>"
|
||||
syn keyword cssTextAttr contained manual loose strict hanging anywhere
|
||||
syn keyword cssTextAttr contained loose strict hanging anywhere
|
||||
syn match cssTextAttr contained "\<match-parent\>"
|
||||
syn match cssTextAttr contained "\<each-line\>"
|
||||
syn match cssTextAttr contained "\<full-width\>"
|
||||
|
||||
@@ -3,6 +3,7 @@ syn match cssTextProp contained "\<text-\(wrap\|spacing\|group-align\)\>"
|
||||
syn match cssTextProp contained "\<wrap-\(before\|after\|inside\)\>"
|
||||
syn match cssTextProp contained "\<hyphenate-\(character\|limit-\(zone\|chars\|lines\|last\)\)\>"
|
||||
syn match cssTextProp contained "\<line-padding\>"
|
||||
syn match cssTextProp contained "\<word-boundary-\(detection\|expansion\)\>"
|
||||
syn keyword cssTextAttr contained spread punctuation
|
||||
syn match cssTextAttr contained "\<preserve-\(breaks\|spaces\)\>"
|
||||
syn match cssTextAttr contained "\<trim-inner\>"
|
||||
@@ -14,3 +15,4 @@ syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>"
|
||||
syn match cssTextAttr contained "\<space-first\>"
|
||||
syn match cssTextAttr contained "\<no-compress\>"
|
||||
syn match cssTextAttr contained "\<ideograph-\(alpha\|numeric\)\>"
|
||||
syn match cssTextAttr contained "\<ideographic-space\>"
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
syn match cssTextProp contained "\<text-\(decoration-\(width\|skip\|skip-ink\)\|underline-offset\|emphasis-skip\)\>"
|
||||
syn match cssTextProp contained "\<text-\(decoration-\(thickness\|skip\|skip-ink\)\|underline-offset\|emphasis-skip\)\>"
|
||||
syn keyword cssTextAttr contained objects edges symbols narrow
|
||||
syn match cssTextAttr contained "\<box-decoration\>"
|
||||
syn match cssTextAttr contained "\<\(spelling\|grammer\)-error\>"
|
||||
syn match cssTextAttr contained "\<from-font\>"
|
||||
syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>"
|
||||
syn match cssTextAttr contained "\<box-decoration\>"
|
||||
|
||||
2
after/syntax/css/transforms-2.vim
Normal file
2
after/syntax/css/transforms-2.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained rotate scale translate
|
||||
syn keyword cssFontAttr contained flat
|
||||
2
after/syntax/css/unofficials.vim
Normal file
2
after/syntax/css/unofficials.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn match cssFontProp contained "\<backdrop-filter\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<env\s*(" end=")" oneline keepend
|
||||
@@ -1,3 +1,2 @@
|
||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ch\|vw\|vh\|vmin\|vmax\|q\)"
|
||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ch\|q\)"
|
||||
syn match cssValueAngle contained "[-+]\=\d\+\(\.\d*\)\=turn"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<calc\s*(" end=")" oneline keepend
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
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 match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(rex\|cap\|rcap\|rch\|ic\|ric\|lh\|rlh\)"
|
||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(s\|l\|d\)\=v\(h\|w\|i\|b\|min\|max\)"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(mix\|min\|max\|clamp\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
syn match cssFontProp contained "\<--[A-Za-z_][A-Za-z0-9_-]\+\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<var\s*(" end=")" oneline keepend
|
||||
|
||||
320
test/test.css
320
test/test.css
@@ -43,22 +43,12 @@
|
||||
}
|
||||
|
||||
.box-3 {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.box-4 {
|
||||
margin-trim: auto;
|
||||
display: in-flow;
|
||||
/* .block-3 */
|
||||
clear-after: auto;
|
||||
float-displace: auto;
|
||||
indent-edge-reset: auto;
|
||||
display: scrollbar;
|
||||
display: panner;
|
||||
display: marquee;
|
||||
display: discard;
|
||||
display: decendants;
|
||||
display: block-within-page;
|
||||
display: margin-edge;
|
||||
display: border-edge;
|
||||
display: padding-edge;
|
||||
display: content-edge;
|
||||
}
|
||||
|
||||
.break-3 {
|
||||
@@ -72,16 +62,20 @@
|
||||
}
|
||||
|
||||
.cascade-3 {
|
||||
all: auto;
|
||||
display: initial;
|
||||
display: unset;
|
||||
display: auto;
|
||||
}
|
||||
|
||||
@import "cascade-4.css" supports(display: auto);
|
||||
|
||||
.cascade-4 {
|
||||
display: revert;
|
||||
}
|
||||
|
||||
@import "test.css" supports(display: auto);
|
||||
@import "cascade-5.css" layer(framework component);
|
||||
|
||||
.cascade-5 {
|
||||
display: revert-layer;
|
||||
}
|
||||
|
||||
.color-3 {
|
||||
display: auto;
|
||||
@@ -91,20 +85,28 @@
|
||||
display: hwb(120deg, 44%, 50%);
|
||||
display: lab(1 2 3);
|
||||
display: lch(4 5 6);
|
||||
display: gray(50%);
|
||||
display: color(swopc, 0 206 190 77);
|
||||
display: device-cmyk(0, 81%, 81%, 30%);
|
||||
display: relative-colorimetric;
|
||||
display: absolute-colorimetric;
|
||||
display: perceptual;
|
||||
}
|
||||
|
||||
@color-profile swopc {
|
||||
src: url("http://example.org/swop-coated.icc");
|
||||
}
|
||||
|
||||
.color-5 {
|
||||
display: color-mix(red yellow 65%);
|
||||
display: color-contrast(wheat tan, sienna, var(--myAccent), #d2691e);
|
||||
}
|
||||
|
||||
.color-adjust-1 {
|
||||
color-scheme: auto;
|
||||
forced-color-adjust: auto;
|
||||
print-color-adjust: auto;
|
||||
color-adjust: auto;
|
||||
display: only;
|
||||
display: light;
|
||||
display: economy;
|
||||
display: exact;
|
||||
}
|
||||
@@ -131,13 +133,29 @@
|
||||
}
|
||||
|
||||
@supports (display: auto) or
|
||||
(display: auto) not
|
||||
(display: auto) {
|
||||
(display: auto) not
|
||||
(display: auto) {
|
||||
.conditional-3 {
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@supports (selector(.conditional-4)) {
|
||||
.conditional-4 {
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@when media(screen) {
|
||||
.conditional-5 {
|
||||
display: auto;
|
||||
}
|
||||
} @else {
|
||||
.conditional-5 {
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.contain-1 {
|
||||
contain: auto;
|
||||
display: layout;
|
||||
@@ -145,6 +163,14 @@
|
||||
display: size;
|
||||
}
|
||||
|
||||
.contain-2 {
|
||||
content-visibility: auto;
|
||||
}
|
||||
|
||||
.contain-3 {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.content-3 {
|
||||
string-set: auto;
|
||||
bookmark-level: auto;
|
||||
@@ -234,14 +260,11 @@
|
||||
}
|
||||
|
||||
.display-3 {
|
||||
display: flow;
|
||||
display: flow-root;
|
||||
display: contents;
|
||||
display: run-in;
|
||||
display: ruby;
|
||||
display: ruby-base;
|
||||
display: ruby-text;
|
||||
display: ruby-base-group;
|
||||
display: ruby-text-group;
|
||||
}
|
||||
|
||||
.easing-1 {
|
||||
@@ -352,33 +375,49 @@
|
||||
}
|
||||
|
||||
.fonts-4 {
|
||||
font-min-size: auto;
|
||||
font-max-size: auto;
|
||||
font-synthesis-weight: auto;
|
||||
font-synthesis-style: auto;
|
||||
font-synthesis-small-caps: auto;
|
||||
font-variation-settings: auto;
|
||||
font-named-instance: auto;
|
||||
font-display: auto;
|
||||
ascent-override: auto;
|
||||
descent-override: auto;
|
||||
line-gap-override: auto;
|
||||
font-optical-sizing: auto;
|
||||
font-variation-settings: auto;
|
||||
font-palette: auto;
|
||||
font-presentation: auto;
|
||||
font-variant-emoji: auto;
|
||||
font-presentation: auto;
|
||||
display: system-ui;
|
||||
display: emoji;
|
||||
display: math;
|
||||
display: fangsong;
|
||||
display: infinity;
|
||||
display: stylistic(feature-value-name);
|
||||
display: ui-serif;
|
||||
display: ui-sans-serif;
|
||||
display: ui-monospace;
|
||||
display: ui-rounded;
|
||||
display: xxx-large;
|
||||
display: swap;
|
||||
display: fallback;
|
||||
display: historical-forms;
|
||||
display: stylistic(feature-value-name);
|
||||
display: styleset(feature-value-name #);
|
||||
display: character-variant(feature-vlue-name #);
|
||||
display: swash(feature-value-name);
|
||||
display: ornaments(feature-value-name);
|
||||
display: annotation(feature-value-name);
|
||||
display: swap;
|
||||
display: fallback;
|
||||
display: optional;
|
||||
display: light;
|
||||
display: dark;
|
||||
}
|
||||
|
||||
@font-feature-values Test {
|
||||
@swash {
|
||||
swishy: 1;
|
||||
flowing: 2;
|
||||
}
|
||||
}
|
||||
|
||||
@font-palette-values Test {
|
||||
base-palette: 1;
|
||||
override-color: 1 rgb(43, 12, 9);
|
||||
@@ -400,17 +439,19 @@
|
||||
}
|
||||
|
||||
.grid-1 {
|
||||
grid-template: auto;
|
||||
display: minmax(0, 1);
|
||||
display: repeat(4);
|
||||
display: 0.2fr;
|
||||
display: dense;
|
||||
display: auto-flow;
|
||||
display: span;
|
||||
}
|
||||
|
||||
.grid-2 {
|
||||
display: 1.618ar;
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.highlight-api-1::highlight(test) {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.html5,
|
||||
@@ -427,8 +468,10 @@ template {
|
||||
object-position: auto;
|
||||
image-orientation: auto;
|
||||
display: snap;
|
||||
display: flip;
|
||||
display: scale-down;
|
||||
display: from-image;
|
||||
display: pixelated;
|
||||
display: repeating-linear-gradient(to bottom, yellow, blue);
|
||||
display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green);
|
||||
}
|
||||
@@ -443,13 +486,23 @@ template {
|
||||
.inline-3 {
|
||||
dominant-baseline: auto;
|
||||
alignment-baseline: auto;
|
||||
baseline-source: auto;
|
||||
baseline-shift: auto;
|
||||
text-edge: auto;
|
||||
leading-trim: auto;
|
||||
inline-sizing: auto;
|
||||
initial-letters: auto;
|
||||
initial-letters-align: auto;
|
||||
initial-letters-wrap: auto;
|
||||
initial-letter: auto;
|
||||
initial-letter-align: auto;
|
||||
initial-letter-wrap: auto;
|
||||
display: mathematical;
|
||||
display: central;
|
||||
display: ideographic;
|
||||
display: leading;
|
||||
display: cap;
|
||||
display: ex;
|
||||
display: ideographic-ink;
|
||||
display: drop;
|
||||
display: raise;
|
||||
}
|
||||
|
||||
.layout-api-1 {
|
||||
@@ -488,13 +541,6 @@ template {
|
||||
margin-inline-end: auto;
|
||||
margin-block: auto;
|
||||
margin-inline: auto;
|
||||
inset-block-start: auto;
|
||||
inset-block-end: auto;
|
||||
inset-inline-start: auto;
|
||||
inset-inline-end: auto;
|
||||
inset-block: auto;
|
||||
inset-inline: auto;
|
||||
inset: auto;
|
||||
padding-block-start: auto;
|
||||
padding-block-end: auto;
|
||||
padding-inline-start: auto;
|
||||
@@ -591,20 +637,22 @@ mask {
|
||||
.nav-1 {
|
||||
spatial-navigation-contain: auto;
|
||||
spatial-navigation-action: auto;
|
||||
spatial-navigation-function: auto;
|
||||
display: focus;
|
||||
}
|
||||
|
||||
.overflow-3 {
|
||||
max-lines: auto;
|
||||
block-overflow: auto;
|
||||
line-clamp: auto;
|
||||
continue: auto;
|
||||
overflow-clip-margin: auto;
|
||||
overflow-block: auto;
|
||||
overflow-inline: auto;
|
||||
scrollbar-gutter: auto;
|
||||
block-ellipsis: auto;
|
||||
line-clamp: auto;
|
||||
max-lines: auto;
|
||||
continue: auto;
|
||||
}
|
||||
|
||||
.overflow-4::nth-fragment(1) {
|
||||
scrollbar-gutter: auto;
|
||||
display: stable;
|
||||
display: force;
|
||||
display: overflow;
|
||||
@@ -612,6 +660,14 @@ mask {
|
||||
display: fragments;
|
||||
}
|
||||
|
||||
.overscroll-1 {
|
||||
overscroll-behavior: auto;
|
||||
overscroll-behavior-block: auto;
|
||||
overscroll-behavior-inline: auto;
|
||||
overscroll-behavior-x: auto;
|
||||
overscroll-behavior-y: auto;
|
||||
}
|
||||
|
||||
.page-3 {
|
||||
marks: auto;
|
||||
bleed: auto;
|
||||
@@ -641,20 +697,26 @@ mask {
|
||||
}
|
||||
|
||||
.position-3 {
|
||||
offset-before: auto;
|
||||
offset-end: auto;
|
||||
offset-after: auto;
|
||||
offset-start: auto;
|
||||
inset-block-start: auto;
|
||||
inset-block-end: auto;
|
||||
inset-inline-start: auto;
|
||||
inset-inline-end: auto;
|
||||
inset-block: auto;
|
||||
inset-inline: auto;
|
||||
inset: auto;
|
||||
display: sticky;
|
||||
}
|
||||
|
||||
.properties-values-api-1 {
|
||||
display: auto;
|
||||
syntax: auto;
|
||||
inherits: auto;
|
||||
initial-value: auto;
|
||||
}
|
||||
|
||||
.pseudo-4::inactive-selection,
|
||||
.pseudo-4::target-text,
|
||||
.pseudo-4::spelling-error,
|
||||
.pseudo-4::grammer-error {
|
||||
.pseudo-4::grammer-error,
|
||||
.pseudi-4::file-selectors-button {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
@@ -669,6 +731,10 @@ mask {
|
||||
display: avoid-region;
|
||||
}
|
||||
|
||||
.resize-observer-1 {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.rhythm-1 {
|
||||
line-height-step: auto;
|
||||
block-step-size: auto;
|
||||
@@ -699,8 +765,10 @@ mask {
|
||||
ruby-position: auto;
|
||||
ruby-merge: auto;
|
||||
ruby-align: auto;
|
||||
ruby-overhang: auto;
|
||||
display: ruby-base-container;
|
||||
display: ruby-text-container;
|
||||
display: merge;
|
||||
display: inter-character;
|
||||
}
|
||||
|
||||
@@ -720,6 +788,10 @@ mask {
|
||||
}
|
||||
}
|
||||
|
||||
.scroll-anchoring-1 {
|
||||
overflow-anchor: auto;
|
||||
}
|
||||
|
||||
.scroll-snap-1 {
|
||||
scroll-snap-type: auto;
|
||||
scroll-padding: auto;
|
||||
@@ -752,6 +824,11 @@ mask {
|
||||
display: proximity;
|
||||
}
|
||||
|
||||
.scrollbars-1 {
|
||||
scrollbar-color: auto;
|
||||
scrollbar-width: auto;
|
||||
}
|
||||
|
||||
.selectors-3:enabled,
|
||||
.selectors-3:indeterminate,
|
||||
.selectors-3:nth-child(2n+1),
|
||||
@@ -792,11 +869,18 @@ mask {
|
||||
.selectors-4:playing,
|
||||
.selectors-4:paused,
|
||||
.selectors-4:has(> img),
|
||||
.selectors-4:where(:not(:hover)) {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.selectors-nonelement-1::attr(title) {
|
||||
.selectors-4:where(:not(:hover)),
|
||||
.selectors-4:defined,
|
||||
.selectors-4:modal,
|
||||
.selectors-4:fullscreen,
|
||||
.selectors-4:picture-in-picture,
|
||||
.selectors-4:seeking,
|
||||
.selectors-4:buffering,
|
||||
.selectors-4:stalled,
|
||||
.selectors-4:muted,
|
||||
.selectors-4:volume-locked,
|
||||
.selectors-4:autofill,
|
||||
.selectors-4:user-valid {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
@@ -821,6 +905,41 @@ mask {
|
||||
display: fit-content(10%);
|
||||
}
|
||||
|
||||
.sizing-4 {
|
||||
contain-intrinsic-size: auto;
|
||||
min-intrinsic-sizing: auto;
|
||||
display: fit-content;
|
||||
display: zero-if-scroll;
|
||||
display: zero-if-extrinsic;
|
||||
}
|
||||
|
||||
.speech-1 {
|
||||
voice-volume: auto;
|
||||
voice-balance: auto;
|
||||
rest-before: auto;
|
||||
rest-after: auto;
|
||||
rest: auto;
|
||||
voice-rate: auto;
|
||||
voice-pitch: auto;
|
||||
voice-range: auto;
|
||||
voice-stress: auto;
|
||||
voice-duration: auto;
|
||||
display: 10dB;
|
||||
display: literal-punctuation;
|
||||
display: no-punctuation;
|
||||
display: x-weak;
|
||||
display: weak;
|
||||
display: strong;
|
||||
display: x-strong;
|
||||
display: young;
|
||||
display: old;
|
||||
display: neutral;
|
||||
display: preserve;
|
||||
display: 10st;
|
||||
display: moderate;
|
||||
display: reduced;
|
||||
}
|
||||
|
||||
.style-attr {
|
||||
display: auto;
|
||||
}
|
||||
@@ -938,12 +1057,8 @@ view {
|
||||
}
|
||||
|
||||
.text-3 {
|
||||
hyphens: auto;
|
||||
line-break: auto;
|
||||
overflow-wrap: auto;
|
||||
tab-size: auto;
|
||||
text-align-all: auto;
|
||||
display: manual;
|
||||
display: loose;
|
||||
display: strict;
|
||||
display: match-parent;
|
||||
@@ -970,6 +1085,8 @@ view {
|
||||
text-group-align: auto;
|
||||
line-padding: auto;
|
||||
text-spacing: auto;
|
||||
word-boundary-detection: auto;
|
||||
word-boundary-expansion: auto;
|
||||
display: preserve-breaks;
|
||||
display: preserve-spaces;
|
||||
display: trim-inner;
|
||||
@@ -991,6 +1108,7 @@ view {
|
||||
display: ideograph-alpha;
|
||||
display: ideograph-numeric;
|
||||
display: punctuation;
|
||||
display: ideographic-space;
|
||||
}
|
||||
|
||||
.text-decor-3 {
|
||||
@@ -1014,12 +1132,15 @@ view {
|
||||
}
|
||||
|
||||
.text-decor-4 {
|
||||
text-decoration-width: auto;
|
||||
text-decoration-thickness: auto;
|
||||
text-underline-offset: auto;
|
||||
text-decoration-skip: auto;
|
||||
text-decoration-skip-ink: auto;
|
||||
text-emphasis-skip: auto;
|
||||
display: spelling-error;
|
||||
display: grammer-error;
|
||||
display: objects;
|
||||
display: from-font;
|
||||
display: spaces;
|
||||
display: leading-spaces;
|
||||
display: trailing-spaces;
|
||||
@@ -1037,6 +1158,13 @@ view {
|
||||
transform-box: auto;
|
||||
}
|
||||
|
||||
.tranforms-2 {
|
||||
rotate: auto;
|
||||
scale: auto;
|
||||
translate: auto;
|
||||
display: flat;
|
||||
}
|
||||
|
||||
.transitions-1 {
|
||||
display: auto;
|
||||
}
|
||||
@@ -1059,32 +1187,72 @@ view {
|
||||
display: underscore;
|
||||
}
|
||||
|
||||
.unofficials {
|
||||
backdrop-filter: auto;
|
||||
display: env(safe-area-inset-top, 20px);
|
||||
}
|
||||
|
||||
.values-3 {
|
||||
display: 1ch;
|
||||
display: 1vw;
|
||||
display: 1vh;
|
||||
display: 1vmin;
|
||||
display: 1q;
|
||||
display: 1turn;
|
||||
display: calc(100%/3 - 2*1em - 2*1px);
|
||||
}
|
||||
|
||||
.values-4 {
|
||||
display: 1vi;
|
||||
display: 1vb;
|
||||
display: 1ic;
|
||||
display: 1rex;
|
||||
display: 1cap;
|
||||
display: 1rcap;
|
||||
display: 1rch;
|
||||
display: 1ic;
|
||||
display: 1ric;
|
||||
display: 1lh;
|
||||
display: 1rlh;
|
||||
display: 1svh;
|
||||
display: 1svw;
|
||||
display: 1svi;
|
||||
display: 1svb;
|
||||
display: 1svmin;
|
||||
display: 1svmax;
|
||||
display: 1lvh;
|
||||
display: 1lvw;
|
||||
display: 1lvi;
|
||||
display: 1lvb;
|
||||
display: 1lvmin;
|
||||
display: 1lvmax;
|
||||
display: 1dvh;
|
||||
display: 1dvw;
|
||||
display: 1dvi;
|
||||
display: 1dvb;
|
||||
display: 1dvmin;
|
||||
display: 1dvmax;
|
||||
display: min(0, 1);
|
||||
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);
|
||||
display: mix(33%; 1px; 2px);
|
||||
}
|
||||
|
||||
.variables-1 {
|
||||
--var-foo: auto;
|
||||
display: var(foo);
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.web-animations-1 {
|
||||
|
||||
Reference in New Issue
Block a user