Skip to content

Instantly share code, notes, and snippets.

@frankschrijvers

frankschrijvers/style.css

Last active Aug 29, 2015
Embed
What would you like to do?
Masonry CSS
/* 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
You can’t perform that action at this time.