A Pen by Norbert Papp on CodePen.
Created
November 21, 2018 18:46
-
-
Save filiptronicek/52ddf22100c2d20b0409c11dba39126c to your computer and use it in GitHub Desktop.
Simple floating language selector
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
<div id="language"> | |
<a href="#" title="English"><img src="http://upload.wikimedia.org/wikipedia/commons/0/07/Icons-flag-uk.png" alt="English" /></a> | |
<a href="#" title="English"><img src="https://cdn1.iconfinder.com/data/icons/famfamfam_flag_icons/hu.png" alt="English" /></a> | |
</div> |
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
#language { | |
position: fixed; | |
top: 0px; | |
right: 0px; | |
padding: 0.5em 0.7em; | |
background: #ccc; | |
display: block; | |
width: 40px; | |
height: auto; | |
z-index: 99; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment