Created
September 4, 2014 17:26
-
-
Save ajaydsouza/4deea8772597c62e3b1f to your computer and use it in GitHub Desktop.
CRP - Pinterest
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
.crp_related { | |
padding: 0; | |
} | |
.crp_related ul { | |
-webkit-column-gap: 10px; | |
-webkit-column-fill: auto; | |
-moz-column-gap: 10px; | |
-moz-column-fill: auto; | |
column-gap: 15px; | |
column-fill: auto; | |
margin: 0; | |
} | |
.crp_related ul li { | |
display: inline-block; | |
background: #FEFEFE; | |
border: 2px solid #FAFAFA; | |
box-shadow: 0 1px 2px rgba(34, 25, 25, 0.4); | |
margin: 0 5px 15px; | |
-webkit-column-break-inside: avoid; | |
-moz-column-break-inside: avoid; | |
column-break-inside: avoid; | |
padding: 5px; | |
background: -webkit-linear-gradient(45deg, #FFF, #F9F9F9); | |
opacity: 1; | |
width: 160px; | |
text-align: center; | |
-webkit-transition: all .2s ease; | |
-moz-transition: all .2s ease; | |
-o-transition: all .2s ease; | |
transition: all .2s ease; | |
} | |
.crp_related ul img { | |
width: 150px; | |
height: 150px; | |
border-bottom: 1px solid #ccc; | |
margin-bottom: 5px; | |
padding-bottom: 5px; | |
} | |
.crp_title { | |
font: 12px/18px Arial, sans-serif; | |
color: #333; | |
margin: 0; | |
text-decoration: none; | |
height: 120px; | |
} | |
.crp_related:hover li:not(:hover) { | |
opacity: 0.5; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment