Created
February 2, 2012 13:50
-
-
Save exwar/1723551 to your computer and use it in GitHub Desktop.
Whatever
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
/* Whatever */ | |
.b-list { | |
font-size: 0; | |
letter-spacing: -4px; | |
} | |
.b-list__item { | |
position: relative; | |
display: inline-block; | |
border-radius: 4px; | |
transition: all ease .5s; | |
} | |
.b-list__item:hover { | |
z-index: 1; | |
box-shadow: 0 0 2px rgba(0, 0, 0, .4); | |
transform: scale(0.9); | |
} | |
.b-list__item img { | |
border-radius: 4px; | |
} | |
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 class="b-list"> | |
<div class="b-list__item"><img src="http://placehold.it/200x200" alt=""></div> | |
<div class="b-list__item"><img src="http://placehold.it/200x200" alt=""></div> | |
<div class="b-list__item"><img src="http://placehold.it/200x200" alt=""></div> | |
<div class="b-list__item"><img src="http://placehold.it/200x200" alt=""></div> | |
</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
{"view":"split-vertical","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment