mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 10:44:23 +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,7 +141,19 @@
|
||||
}
|
||||
|
||||
@supports (selector(.conditional-4)) {
|
||||
display: auto;
|
||||
.conditional-4 {
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@when media(screen) {
|
||||
.conditional-5 {
|
||||
display: auto;
|
||||
}
|
||||
} @else {
|
||||
.conditional-5 {
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.contain-1 {
|
||||
|
||||
Reference in New Issue
Block a user