css
css copied to clipboard
📄 Child Combinator not working with breakpoints
Description
This won't work: w:50%@sm>div
Edited: w:50%>div@sm This is working...The order is so confusing, there is no official documentation about how we should order them...
Reproduction
No response
System Informations
Browser: Firefox Developer
@karchung0930 Master CSS uniformly puts media queries last. You are right, it is indeed the documentation that should be improved.
<!-- prop key + prop value -->
<div class="name:value">...
<!-- prop key + prop value + selector -->
<div class="name:value:selector">...
<!-- prop key + prop value + selector + media queries -->
<div class="name:value:selector@media">...