Created
October 11, 2012 12:23
-
-
Save dvnckr/3871968 to your computer and use it in GitHub Desktop.
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
body { | |
background: #DDD; | |
text-align:center; | |
} | |
a { | |
display:inline-block; | |
position:relative; | |
width:200px; | |
height: 200px; | |
margin: 40px 20px; | |
background: url('http://www.satlogo.com/logo/hires/flag/rw.png') repeat 228px -22px; | |
box-shadow: 0 4px 6px #111; | |
} | |
a>div { | |
position:absolute; | |
top:0; right:0; left:0; bottom:0px; | |
border:1px solid rgba(0,0,0,0.5); | |
transition: border 0.2s ease; | |
} | |
a:hover>div { | |
border-width:100px; | |
} | |
a:nth-child(2), a:nth-child(2)>div { | |
border-radius: 50%;} | |
/* http://www.satlogo.com/logo/hires/flag/rw.png */ |
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
<a href="http://www.twitter.com"> | |
<div></div> | |
</a> | |
<a href="http://www.twitter.com"> | |
<div></div> | |
</a> | |
<a href="http://www.twitter.com"> | |
<div></div> | |
</a> |
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
{"view":"split","fontsize":"90","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment