If you do:
div {
color: green;
@media (width > 0) {
color: red;
background: red;
}
background: green;
}
My understanding is that per spec the div color and background would be red.
That seems rather confusing. There are various alternatives here:
div {
color: green;
@media (width > 0) {
color: red;
background: red;
}
& {
background: green
}
}
Maybe something else?
cc @fantasai
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3