mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(core): css-what parser for CSS selectors + support for :not(), :is(), and :where() Level 4 and ~ (#10514)
This commit is contained in:
committed by
GitHub
parent
88a047254b
commit
2fb4f23670
@@ -31,6 +31,29 @@
|
||||
color: white;
|
||||
}
|
||||
|
||||
.general-sibling--type Button ~ Label {
|
||||
background-color: green;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.general-sibling--class .test-child ~ .test-child-2 {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
.general-sibling--attribute Button[data="test-child"] ~ Button[data="test-child-2"] {
|
||||
background-color: blueviolet;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.general-sibling--pseudo-selector Button.ref ~ Button:disabled {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.sibling-test-label {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sibling-test-label {
|
||||
margin-top: 8;
|
||||
}
|
||||
Reference in New Issue
Block a user