Last active
September 2, 2015 10:44
-
-
Save Loque-/1da3be42b9ad1a2fb14a to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// using modernizr and @root | |
.page-navigation { | |
.branding { | |
background: green; | |
// If you do have flexbox | |
html:not(.no-flexbox) & { | |
background: hotpink; | |
} | |
// or ... (relies on modernizr [and will require JS to load before seing styles]) | |
html.flexbox & { | |
background: hotpink; | |
} | |
// if you don't have flexbox (relies on modernizr [and will require JS to load before seing styles]) | |
html.no-flexbox & { | |
background: lime; | |
} | |
} | |
} |
This file contains hidden or 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
.page-navigation .branding { | |
background: green; | |
} | |
html:not(.no-flexbox) .page-navigation .branding { | |
background: hotpink; | |
} | |
html.flexbox .page-navigation .branding { | |
background: hotpink; | |
} | |
html.no-flexbox .page-navigation .branding { | |
background: lime; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment