CSS
.postContainerHome > div > div > div{
padding:10px;
}
.postContainerHome > div > div{
background-size:cover;
-webkit-background-size:cover;
}
.postContainerHome > div > div img{
display:none;
}
.innerLeftPosts, .innerRightPosts{
height:500px;
}
.innerLeftPosts > div, .innerRightPosts > div{
overflow:hidden;
position:relative;
}
.postSlideCover{
width:calc(100% - 20px);
height:auto;
position:absolute;
background: rgba(0,0,0,0); /* Old browsers */
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 65%, rgba(0,0,0,0.8) 65%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(65%,rgba(0,0,0,0.8)), color-stop(65%,rgba(0,0,0,0.8))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 65%,rgba(0,0,0,0.8) 65%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 65%,rgba(0,0,0,0.8) 65%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 65%,rgba(0,0,0,0.8) 65%); /* IE10+ */
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 65%,rgba(0,0,0,0.8) 65%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(0,0,0,0)', endColorstr='rgba(0,0,0,0.8)',GradientType=0 ); /* IE6-9 */
transition:all 0.4s ease-out;
-webkit-transition:all 0.4s ease-out;
}
.mainPostHome .postSlideCover{
top:83%;
bottom:auto;
}
.mainPostHome:hover .postSlideCover{
top:auto;
bottom:0;
}
.innerLeftPosts{
float:left;
width:50%;
}
.innerRightPosts{
float:right;
width:50%;
}
.innerRightPosts > div{
height:calc(500px/3);
overflow:hidden;
}
.mainPostHome{
background:#fec33e;
height:calc(500px*(2/3));
}
.secondaryPostHome{
background:#00588d;
height:calc(500px*(1/3));
}
.secondaryPostHome > .postSlideCover{
top:72%;
bottom:0;
}
.secondaryPostHome:hover > .postSlideCover{
bottom:0;
top:auto;
}
.rightPostHome >...