Created
March 3, 2016 02:50
-
-
Save ebinion/a20f9155b37a4ce97a2f to your computer and use it in GitHub Desktop.
Quick Snippet for Settings Menu - Blockbox Steph
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
<ul class="settings-menu"> | |
<li> | |
<a href="#"> | |
<img src="http://swong17.github.io/Blocbox/images/Stephanie2015-150x150.jpg"> | |
Stephanie Wong | |
<i class="fa fa-cog"></i> | |
</a> | |
<ul class="settings-menu__menu"> | |
<li><a href="#"><i class="fa fa-cog"></i> Account Settings</a></li> | |
<li><a href="#"><i class="fa fa-group"></i> Collaborators</a></li> | |
<li><a href="#"><i class="fa fa-sign-out"></i> Sign Out</a></li> | |
</ul> | |
</li> | |
</ul> |
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
.settings-menu.dropit { | |
position: relative; | |
} | |
.settings-menu.dropit .dropit-submenu { | |
top: auto; | |
bottom: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment