Created
October 10, 2018 08:11
-
-
Save danieldiekmeier/3c1fc91fc7327b85f278aaa1d435036c to your computer and use it in GitHub Desktop.
Preprocessor Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.Element { | |
display none @ <320px; block @ >=320px | |
font-size 12px @ 320px; 20px @ 1280px | |
} | |
.Element { | |
display ( | |
<320px: none | |
block | |
) | |
:hovering(.Parent) { | |
background-color red | |
} | |
:before { | |
content "" | |
} | |
// Compile time error | |
.Sub { | |
possible notpossible | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment