mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-09 03:54:46 +08:00
Add conditional-5.vim
https://www.w3.org/TR/2021/WD-css-conditional-5-20211221/
This commit is contained in:
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
|
||||
@@ -141,8 +141,20 @@
|
||||
}
|
||||
|
||||
@supports (selector(.conditional-4)) {
|
||||
.conditional-4 {
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@when media(screen) {
|
||||
.conditional-5 {
|
||||
display: auto;
|
||||
}
|
||||
} @else {
|
||||
.conditional-5 {
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.contain-1 {
|
||||
contain: auto;
|
||||
|
||||
Reference in New Issue
Block a user