Last active
December 17, 2015 12:29
-
-
Save ryndel/5610455 to your computer and use it in GitHub Desktop.
Hover expand bar using social icons. Incomplete. Was started before we moved to using icon fonts instead of images
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
ul.hover-xpnd-16, ul.hover-xpnd-32, ul.hover-xpnd-48, ul.hover-xpnd-64 { | |
} | |
ul.hover-xpnd-16 li, ul.hover-xpnd-32 li, ul.hover-xpnd-48 li, ul.hover-xpnd-64 li, div.hover-xpnd-16, div.hover-xpnd-32, div.hover-xpnd-48, div.hover-xpnd-64 { | |
display:inline-block; | |
overflow:hidden; | |
} | |
ul.hover-xpnd-16 li:hover, ul.hover-xpnd-32 li:hover, ul.hover-xpnd-48 li:hover, ul.hover-xpnd-64 li:hover, div.hover-xpnd-16:hover, div.hover-xpnd-32:hover, div.hover-xpnd-48:hover, div.hover-xpnd-64:hover { | |
overflow:visible; | |
width:auto; | |
} | |
ul.hover-xpnd-16 li, div.hover-xpnd-16 { | |
padding-left:16px; | |
} | |
ul.hover-xpnd-32 li, div.hover-xpnd-32 { | |
padding-left:32px; | |
} | |
ul.hover-xpnd-48 li, div.hover-xpnd-48 { | |
padding-left:48px; | |
} | |
ul.hover-xpnd-64 li, div.hover-xpnd-64 { | |
padding-left:64px; | |
} |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hover Expand Social Icon Tool</title> | |
<!-- Basic setup --> | |
<link rel="stylesheet" href="https://rawgithub.com/commons/common.css/master/build/common.min.css" type="text/css" media="screen"> | |
<!-- Main CSS for Demo --> | |
<link rel="stylesheet" href="../css/animations/hover-xpnd.css" type="text/css" media="screen"> | |
<!-- Other Dependencies --> | |
<link rel="stylesheet" href="../css/social-icons-set.css" type="text/css" media="screen"> | |
<!-- Demo Styles --> | |
<style type="text/css"> | |
</style> | |
</head> | |
<body> | |
<nav> | |
<ul class="hover-xpnd-16"> | |
<li class="color-16px-facebook"><a href="">Facebook</a></li> | |
<li class="color-16px-email"><a href="">Email</a></li> | |
<li class="color-16px-flickr"><a href="">Flickr</a></li> | |
<li class="color-16px-github"><a href="">Github</a></li> | |
<li class="color-16px-linkedin"><a href="">LinkedIn</a></li> | |
</ul> | |
</nav> | |
<div class="hover-xpnd-16 color-16px-facebook"><a href="">Facebook</a></div> | |
<div class="hover-xpnd-16 color-16px-email"><a href="">Email</a></div> | |
<div class="hover-xpnd-16 color-16px-flickr"><a href="">Flickr</a></div> | |
<div class="hover-xpnd-16 color-16px-github"><a href="">Github</a></div> | |
<div class="hover-xpnd-16 color-16px-linkedin"><a href="">LinkedIn</a></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment