-
-
Save samuelchan22/537d05d30c06ed50f0e7baedfda67a71 to your computer and use it in GitHub Desktop.
_langVisible.scss
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
/* | |
* For: en-US | |
*/ | |
html[lang="en"] { | |
.o-langShow-en { | |
display: block; | |
} | |
.o-langHide-en { | |
display: none; | |
} | |
} | |
html:not([lang="en"]) { | |
.o-langShow-en { | |
display: none; | |
} | |
.o-langHide-en { | |
display: block; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment