mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +08:00
Compare commits
38 Commits
v2.1.0
...
b0bc65e6f8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0bc65e6f8 | ||
|
|
a6133ac2ff | ||
|
|
cc35f339d8 | ||
|
|
4f8d08e82b | ||
|
|
8d496ec664 | ||
|
|
349772545f | ||
|
|
000f04273c | ||
|
|
b7778bc209 | ||
|
|
089f388a9e | ||
|
|
02dd66a1d0 | ||
|
|
857f1af752 | ||
|
|
f99c2ee07e | ||
|
|
e154d38c2d | ||
|
|
e8202fbb7d | ||
|
|
17624f5993 | ||
|
|
cd2dc6b9f7 | ||
|
|
d066e83f01 | ||
|
|
cb6f429561 | ||
|
|
5ea57b4b51 | ||
|
|
a56bcb6df4 | ||
|
|
43e817811d | ||
|
|
d79ca2faae | ||
|
|
44dd2e6bad | ||
|
|
af20714f72 | ||
|
|
f136721a00 | ||
|
|
ba8002926e | ||
|
|
d8ad25fdb6 | ||
|
|
b73d5028a8 | ||
|
|
3cd856659d | ||
|
|
3bc2e593b7 | ||
|
|
30ef43aed3 | ||
|
|
e06bde335f | ||
|
|
b7a3c55721 | ||
|
|
ab6d5e11e5 | ||
|
|
f933340233 | ||
|
|
60ff15a81e | ||
|
|
61bc815f2b | ||
|
|
d858def9c1 |
1
.github/FUNDING.yml
vendored
1
.github/FUNDING.yml
vendored
@@ -1 +0,0 @@
|
||||
github: [hail2u]
|
||||
4
after/syntax/css/anchor-position-1.vim
Normal file
4
after/syntax/css/anchor-position-1.vim
Normal file
@@ -0,0 +1,4 @@
|
||||
syn keyword cssFontProp contained anchor-name anchor-scope position-area position-anchor position-try position-try-fallbacks position-try-order position-visibility
|
||||
syn keyword cssFontAttr contained span-left span-right span-x-start span-x-end x-self-start x-self-end span-x-self-start span-x-self-end span-all span-top span-bottom span-y-start span-y-end y-self-start y-self-end span-y-self-start span-y-self-end block-start block-end span-block-start span-block-end self-block-start self-block-end span-self-block-start span-self-block-end inline-start inline-end span-inline-start span-inline-end self-inline-start self-inline-end span-self-inline-start span-self-inline-end span-start span-end self-start self-end span-self-start span-self-end anchor-center most-width most-height most-block-size most-inline-size flip-block flip-inline flip-start
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<anchor\(-size\)\=\s*(" end=")" oneline keepend
|
||||
syn match cssFontDescriptor "@position-try\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
@@ -1,4 +1,4 @@
|
||||
syn keyword cssFontProp contained components
|
||||
syn keyword cssFontAttr contained relative-colorimetric absolute-colorimetric perceptual
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<color-mix\|device-cmyk\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(color-mix\|device-cmyk\|light-dark\|contrast-color\)\>\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
|
||||
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
|
||||
3
after/syntax/css/color-hdr-1.vim
Normal file
3
after/syntax/css/color-hdr-1.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn keyword cssFontProp contained dynamic-range-limit
|
||||
syn keyword cssFontAttr contained standard constrained-high
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<dynamic-range-limit-mix\s*(" end=")" oneline keepend
|
||||
@@ -1 +1,3 @@
|
||||
syn keyword cssFontProp contained container-type container-name container
|
||||
syn keyword cssFontAttr contained inline-size
|
||||
syn match cssFontDescriptor "@\(when\|else\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
|
||||
2
after/syntax/css/display-4.vim
Normal file
2
after/syntax/css/display-4.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained reading-flow
|
||||
syn keyword cssFontAttr contained flex-visual flex-flow grid-rows grid-columns
|
||||
1
after/syntax/css/easing-2.vim
Normal file
1
after/syntax/css/easing-2.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<linear\s*(" end=")" oneline contains=cssValueInteger,cssValueNumber,cssValueLength,cssFunctionComma
|
||||
@@ -1,4 +1,4 @@
|
||||
syn keyword cssFontProp contained font-synthesis font-synthesis-weight font-synthesis-style font-synthesis-small-caps font-synthesis-settings font-named-instance font-display ascent-override descent-override line-gap-override font-optical-sizing font-variation-settings font-palette font-variant-emoji font-presentation base-palette override-color
|
||||
syn keyword cssFontProp contained font-synthesis font-synthesis-weight font-synthesis-style font-synthesis-small-caps font-synthesis-position font-named-instance font-display ascent-override descent-override line-gap-override font-optical-sizing font-variation-settings font-palette font-variant-emoji font-presentation base-palette override-color
|
||||
syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark contained system-ui contained ui-sans-serif ui-serif ui-monospace ui-rounded contained xxx-large 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
|
||||
|
||||
5
after/syntax/css/forms-1.vim
Normal file
5
after/syntax/css/forms-1.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
syn keyword cssFontProp contained slider-orientation
|
||||
syn keyword cssFontAttr contained base left-to-right right-to-left top-to-bottom bottom-to-top
|
||||
syn keyword cssPseudoClassId contained picker-icon file-selector-button checkmark thumb track fill field-text clear-icon placeholder step-control step-up step-down field-component field-separator color-swatch low-value high-value optimal-value
|
||||
syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\<picker(" end=")" contains=cssStringQ,cssStringQQ
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<control-value\s*(" end=")" oneline keepend
|
||||
2
after/syntax/css/grid-3.vim
Normal file
2
after/syntax/css/grid-3.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained masonry-direction masonry-fill masonry-flow masonry masonry-template-tracks masonry-template-areas masonry-auto-tracks masonry-track-start masonry-track-end masonry-track masonry-slack item-track item-direction item-wrap item-cross item-pack item-slack item-flow
|
||||
syn keyword cssFontAttr contained masonry inline-masonry
|
||||
@@ -1,2 +1,2 @@
|
||||
syn keyword cssFontProp contained dominant-baseline alignment-baseline baseline-shift baseline-source text-edge leading-trim inline-sizing initial-letter initial-letter-align initial-letter-wrap
|
||||
syn keyword cssFontAttr contained central mathematical leading cap ex drop raise ideographic ideographic-ink
|
||||
syn keyword cssFontProp contained dominant-baseline alignment-baseline baseline-shift baseline-source line-fit-edge text-box text-box-edge text-box-trim inline-sizing initial-letter initial-letter-align initial-letter-wrap
|
||||
syn keyword cssFontAttr contained central mathematical leading cap ex drop raise ideographic ideographic-ink trim-start trim-end
|
||||
|
||||
1
after/syntax/css/multicol-2.vim
Normal file
1
after/syntax/css/multicol-2.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn keyword cssPseudoClassId contained column
|
||||
2
after/syntax/css/overflow-5.vim
Normal file
2
after/syntax/css/overflow-5.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained scroll-marker-group
|
||||
syn keyword cssPseudoClassId contained scroll-marker-group scroll-marker target-current
|
||||
@@ -1 +1 @@
|
||||
syn keyword cssFontProp contained marks bleed
|
||||
syn keyword cssFontProp contained marks bleed page-orientation
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
syn keyword cssFontProp contained scroll-timeline-name scroll-timeline-axis scroll-timeline view-timeline-name view-timeline-axis view-timeline-inset view-timeline animation-range animation-delay-start animation-delay-end
|
||||
syn keyword cssFontAttr contained entry exit
|
||||
syn keyword cssFontProp contained scroll-timeline-name scroll-timeline-axis scroll-timeline view-timeline-name view-timeline-axis view-timeline-inset view-timeline animation-range animation-delay-start animation-delay-end timeline-scope
|
||||
syn keyword cssFontAttr contained entry exit defer ancestor
|
||||
|
||||
2
after/syntax/css/scroll-snap-2.vim
Normal file
2
after/syntax/css/scroll-snap-2.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
syn keyword cssFontProp contained scroll-start-target
|
||||
syn keyword cssPseudoClassId contained snapped snapped-x snapped-y snapped-block snapped-inline
|
||||
@@ -1,2 +1,2 @@
|
||||
syn keyword cssFontProp contained white-space-collapse white-space-trim text-space-trim text-wrap text-autospace text-spacing-trim text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-boundary-expansion
|
||||
syn keyword cssFontAttr contained spread punctuation preserve-breaks preserve-spaces discard-inner discard-before discard-after pretty avoid-line avoid-flex pre-wrap-auto no-limit trim-start trim-end trim-adjacent space-start space-end space-adjacent space-first no-compress ideograph-alpha ideograph-numeric ideographic-space
|
||||
syn keyword cssFontProp contained white-space-collapse white-space-trim text-space-trim text-wrap text-autospace text-spacing-trim text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-space-transform
|
||||
syn keyword cssFontAttr contained math-auto spread punctuation preserve-breaks preserve-spaces discard-inner discard-before discard-after pretty avoid-line avoid-flex pre-wrap-auto no-limit space-all trim-both space-first trim-all no-compress ideograph-alpha ideograph-numeric ideographic-space
|
||||
|
||||
1
after/syntax/css/transitions-2.vim
Normal file
1
after/syntax/css/transitions-2.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontDescriptor "@\(starting-style\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
@@ -1,3 +1,3 @@
|
||||
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
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend
|
||||
|
||||
3
after/syntax/css/values-5.vim
Normal file
3
after/syntax/css/values-5.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn keyword cssFontProp contained interpolate-size
|
||||
syn keyword cssFontAttr contained numeric-only allow-keyword
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(\(media\|container\)-\)\=progress\|\(\(calc\|transform\)-\)\=mix\|cross-fade\|first-valid\|toggle\|if\|inherit\|random\(-item\)\=\|sibling-\(count\|index\)\|calc-size\)\s*(" end=")" oneline keepend
|
||||
3
after/syntax/css/view-transitions-2.vim
Normal file
3
after/syntax/css/view-transitions-2.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
syn keyword cssFontProp contained view-transition-class navigation types
|
||||
syn keyword cssPseudoClassId contained active-view-transition
|
||||
syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\<active-view-transition-type(" end=")" contains=cssStringQ,cssStringQQ
|
||||
215
test/test.css
215
test/test.css
@@ -10,6 +10,60 @@
|
||||
display: legacy;
|
||||
}
|
||||
|
||||
@position-try --anchor-position-1 {
|
||||
anchor-name: auto;
|
||||
anchor-scope: auto;
|
||||
position-area: auto;
|
||||
position-anchor: auto;
|
||||
position-try: auto;
|
||||
position-try-fallbacks: auto;
|
||||
position-try-order: auto;
|
||||
position-visibility: auto;
|
||||
display: span-left;
|
||||
display: span-right;
|
||||
display: span-x-start;
|
||||
display: span-x-end;
|
||||
display: x-self-start;
|
||||
display: x-self-end;
|
||||
display: span-x-self-start;
|
||||
display: span-x-self-end;
|
||||
display: span-all;
|
||||
display: span-top;
|
||||
display: span-bottom;
|
||||
display: span-y-start;
|
||||
display: span-y-end;
|
||||
display: y-self-start;
|
||||
display: y-self-end;
|
||||
display: span-y-self-start;
|
||||
display: span-y-self-end;
|
||||
display: span-block-start;
|
||||
display: span-block-end;
|
||||
display: self-block-start;
|
||||
display: self-block-end;
|
||||
display: span-self-block-start;
|
||||
display: span-self-block-end;
|
||||
display: span-inline-start;
|
||||
display: span-inline-end;
|
||||
display: self-inline-start;
|
||||
display: self-inline-end;
|
||||
display: span-self-inline-start;
|
||||
display: span-self-inline-end;
|
||||
display: span-start;
|
||||
display: span-end;
|
||||
display: span-self-start;
|
||||
display: span-self-end;
|
||||
display: anchor-center;
|
||||
display: most-width;
|
||||
display: most-height;
|
||||
display: most-block-size;
|
||||
display: most-inline-size;
|
||||
display: flip-block;
|
||||
display: flip-inline;
|
||||
display: flip-start;
|
||||
display: anchor(--x 50%);
|
||||
display: anchor-size(--foo height);
|
||||
}
|
||||
|
||||
.animations-1 {
|
||||
display: auto;
|
||||
}
|
||||
@@ -100,6 +154,8 @@
|
||||
.color-5 {
|
||||
display: device-cmyk(0, 81%, 81%, 30%);
|
||||
display: color-mix(red yellow 65%);
|
||||
display: light-dark(white, black);
|
||||
display: contrast-color(red max);
|
||||
}
|
||||
|
||||
@color-profile swopc {
|
||||
@@ -120,6 +176,13 @@
|
||||
display: exact;
|
||||
}
|
||||
|
||||
.color-hdr-1 {
|
||||
dynamic-range-limit: auto;
|
||||
display: standard;
|
||||
display: constrained-high;
|
||||
display: dynamic-range-limit-mix(standard 10%, constrained-high 40%, high 50%);
|
||||
}
|
||||
|
||||
.compositing-1 {
|
||||
mix-blend-mode: auto;
|
||||
isolation: auto;
|
||||
@@ -157,7 +220,10 @@
|
||||
|
||||
@when media(screen) {
|
||||
.conditional-5 {
|
||||
display: auto;
|
||||
container-type: auto;
|
||||
container-name: auto;
|
||||
container: auto;
|
||||
display: inline-size;
|
||||
}
|
||||
} @else {
|
||||
.conditional-5 {
|
||||
@@ -273,10 +339,22 @@
|
||||
display: run-in;
|
||||
}
|
||||
|
||||
.display-4 {
|
||||
reading-flow: auto;
|
||||
display: flex-visual;
|
||||
display: flex-flow;
|
||||
display: grid-rows;
|
||||
display: grid-columns;
|
||||
}
|
||||
|
||||
.easing-1 {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.easing-2 {
|
||||
display: linear(0, 0.25, 1);
|
||||
}
|
||||
|
||||
.exclusions-3 {
|
||||
wrap-flow: auto;
|
||||
wrap-through: auto;
|
||||
@@ -371,10 +449,10 @@
|
||||
}
|
||||
|
||||
.fonts-4 {
|
||||
font-synthesis-position: 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;
|
||||
@@ -419,6 +497,35 @@
|
||||
override-color: 1 rgb(43, 12, 9);
|
||||
}
|
||||
|
||||
.forms-1::picker(select),
|
||||
.forms-1::picker-icon,
|
||||
.forms-1::file-selector-button,
|
||||
.forms-1::checkmark,
|
||||
.forms-1::thumb,
|
||||
.forms-1::track,
|
||||
.forms-1::fill
|
||||
.forms-1::field-text,
|
||||
.forms-1::clear-icon,
|
||||
.forms-1::placeholder,
|
||||
.forms-1::field-text,
|
||||
.forms-1::step-control,
|
||||
.forms-1::step-up,
|
||||
.forms-1::step-down,
|
||||
.forms-1::field-component,
|
||||
.forms-1::field-separator,
|
||||
.forms-1::color-swatch,
|
||||
.forms-1:low-value,
|
||||
.forms-1:high-value,
|
||||
.forms-1:optimal-value {
|
||||
slider-orientation: auto;
|
||||
display: base;
|
||||
display: control-value(<number>);
|
||||
display: left-to-right;
|
||||
display: right-to-left;
|
||||
display: top-to-bottom;
|
||||
display: bottom-to-top;
|
||||
}
|
||||
|
||||
.gcpm-3::footnote-call,
|
||||
.gcpm-3::footnote-marker {
|
||||
running: auto;
|
||||
@@ -446,6 +553,29 @@
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.grid-3 {
|
||||
masonry-direction: auto;
|
||||
masonry-fill: auto;
|
||||
masonry-flow: auto;
|
||||
masonry: auto;
|
||||
masonry-template-tracks: auto;
|
||||
masonry-template-areas: auto;
|
||||
masonry-auto-tracks: auto;
|
||||
masonry-track-start: auto;
|
||||
masonry-track-end: auto;
|
||||
masonry-track: auto;
|
||||
masonry-slack: auto;
|
||||
item-track: auto;
|
||||
item-direction: auto;
|
||||
item-wrap: auto;
|
||||
item-cross: auto;
|
||||
item-pack: auto;
|
||||
item-slack: auto;
|
||||
item-flow: auto;
|
||||
display: masonry;
|
||||
display: inline-masonry;
|
||||
}
|
||||
|
||||
.highlight-api-1::highlight(test) {
|
||||
display: auto;
|
||||
}
|
||||
@@ -479,8 +609,10 @@ template {
|
||||
alignment-baseline: auto;
|
||||
baseline-source: auto;
|
||||
baseline-shift: auto;
|
||||
text-edge: auto;
|
||||
leading-trim: auto;
|
||||
line-fit-edge: auto;
|
||||
text-box: auto;
|
||||
text-box-edge: auto;
|
||||
text-box-trim: auto;
|
||||
inline-sizing: auto;
|
||||
initial-letter: auto;
|
||||
initial-letter-align: auto;
|
||||
@@ -494,6 +626,9 @@ template {
|
||||
display: ideographic-ink;
|
||||
display: drop;
|
||||
display: raise;
|
||||
display: trim-start;
|
||||
display: trim-end;
|
||||
display: trim-both;
|
||||
}
|
||||
|
||||
.layout-api-1 {
|
||||
@@ -621,6 +756,10 @@ mask {
|
||||
display: balance-all;
|
||||
}
|
||||
|
||||
.multicol-2::column {
|
||||
display: auto:
|
||||
}
|
||||
|
||||
.namespace-3 {
|
||||
display: auto;
|
||||
}
|
||||
@@ -661,6 +800,12 @@ mask {
|
||||
display: fragments;
|
||||
}
|
||||
|
||||
.overflow-5::scroll-marker-group,
|
||||
.overflow-5::scroll-marker,
|
||||
.overflow-5:target-current {
|
||||
sroll-marker-group: auto;
|
||||
}
|
||||
|
||||
.overscroll-1 {
|
||||
overscroll-behavior: auto;
|
||||
overscroll-behavior-block: auto;
|
||||
@@ -672,6 +817,7 @@ mask {
|
||||
.page-3 {
|
||||
marks: auto;
|
||||
bleed: auto;
|
||||
page-orientation: auto;
|
||||
}
|
||||
|
||||
.page-floats-3 {
|
||||
@@ -808,8 +954,11 @@ mask {
|
||||
animation-range: auto;
|
||||
animation-delay-start: auto;
|
||||
animation-delay-end: auto;
|
||||
timeline-scope: auto;
|
||||
display: entry;
|
||||
display: exit;
|
||||
display: defer;
|
||||
display: ancestor;
|
||||
}
|
||||
|
||||
.scroll-snap-1 {
|
||||
@@ -844,6 +993,15 @@ mask {
|
||||
display: proximity;
|
||||
}
|
||||
|
||||
.scroll-snap-2,
|
||||
.scroll-snap-2:snapped-x,
|
||||
.scroll-snap-2:snapped-y,
|
||||
.scroll-snap-3:snapped-inline,
|
||||
.scroll-snap-2:snapped-block,
|
||||
.scroll-snap-2:snapped {
|
||||
scroll-start-target: auto;
|
||||
}
|
||||
|
||||
.scrollbars-1 {
|
||||
scrollbar-color: auto;
|
||||
scrollbar-width: auto;
|
||||
@@ -1105,7 +1263,8 @@ view {
|
||||
text-spacing-trim: auto;
|
||||
text-spacing: auto;
|
||||
word-boundary-detection: auto;
|
||||
word-boundary-expansion: auto;
|
||||
word-space-transform: auto;
|
||||
display: math-auto;
|
||||
display: preserve-breaks;
|
||||
display: preserve-spaces;
|
||||
display: discard-inner;
|
||||
@@ -1117,13 +1276,10 @@ view {
|
||||
display: pre-wrap-auto;
|
||||
display: no-limit;
|
||||
display: spread;
|
||||
display: trim-start;
|
||||
display: space-start;
|
||||
display: space-all;
|
||||
display: trim-both;
|
||||
display: space-first;
|
||||
display: trim-end;
|
||||
display: space-end;
|
||||
display: trim-adjacent;
|
||||
display: space-adjacent;
|
||||
display: trim-all;
|
||||
display: no-compress;
|
||||
display: ideograph-alpha;
|
||||
display: ideograph-numeric;
|
||||
@@ -1189,6 +1345,12 @@ view {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
@starting-style {
|
||||
.transitions-2 {
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.typed-om-1 {
|
||||
display: auto;
|
||||
}
|
||||
@@ -1266,7 +1428,29 @@ view {
|
||||
display: exp(1);
|
||||
display: abs(-1);
|
||||
display: sign(-4);
|
||||
display: mix(33%; 1px; 2px);
|
||||
}
|
||||
|
||||
.values-5 {
|
||||
interpolate-size: auto;
|
||||
display: numeric-only;
|
||||
display: allow-keyword;
|
||||
display: progress(1, 0, 100);
|
||||
display: media-progress(width, 0, 100);
|
||||
display: container-progress(width, 0, 100);
|
||||
display: calc-mix(0.5, 0, 100);
|
||||
display: color-mix(15%, black, white);
|
||||
display: transform-mix(1, scale(0.5), rotate(10deg));
|
||||
display: mix(90%, red, blue);
|
||||
display: cross-fade(15%, url(foo.png), white);
|
||||
display: toggle(italic, normal);
|
||||
display: first-valid(center, none, 1px);
|
||||
display: if(media(screen): red; else: auto);
|
||||
display: inherit(--foo, auto);
|
||||
display: random(1, 10, by 1);
|
||||
display: random-item(--x, red, yellow, green);
|
||||
display: sibling-count();
|
||||
display: sibling-index();
|
||||
display: calc-size(any, 0px);
|
||||
}
|
||||
|
||||
.variables-1 {
|
||||
@@ -1281,6 +1465,13 @@ view {
|
||||
view-transition-name: auto;
|
||||
}
|
||||
|
||||
.view-transitions-2:active-view-transition,
|
||||
.view-transitions-2:active-view-transition-type(slide-in) {
|
||||
view-transition-class: auto;
|
||||
navigation: auto;
|
||||
types: auto;
|
||||
}
|
||||
|
||||
.web-animations-1 {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user