Last active
August 29, 2015 14:18
-
-
Save frankschrijvers/6ad32036aa74fd89c29b to your computer and use it in GitHub Desktop.
Masonry CSS
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
/* Masonry & Infinite scroll | |
--------------------------------------------- */ | |
#container { | |
margin-bottom: -1.875em; | |
margin-left: -1.562%; | |
overflow: hidden; | |
padding-bottom: 160px; | |
position: relative; | |
width: 103.125%; | |
} | |
#container .pagination { | |
display: none; | |
} | |
.brick { | |
background: #f8f9fa; | |
float: left; | |
font-size: 14px; | |
margin: 0 1.515% 1.875em !important; | |
padding: 3%; | |
width: 30.303%; | |
} | |
#infscr-loading { | |
bottom: 0; | |
clear: both; | |
left:40%; | |
margin: 4em auto; | |
position: absolute; | |
right: 40%; | |
text-align: center; | |
width: 20%; | |
-webkit-animation-delay: -0.16s; | |
animation-delay: -0.16s; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment