Popular Post Grid Template
Edit The Code:
See Result »
Try it Yourself - ©
v5blogger
648px x 516px
<!------------------ Copy Code Start Here --------------------> <style> .PopularPosts ul { padding: 0; } .PopularPosts ul li:first-child{ width: 100%; max-height: 100%; opacity: 0.9; } .PopularPosts ul li:nth-child(even){ margin-right: 2%; } .PopularPosts ul li { box-sizing: border-box; position: relative; padding: 0px !important; width: 49%; max-height: 120px; opacity: 0.4; overflow:hidden; float: left; margin-bottom: 2%; -webkit-transition: all 0.5s ease 0s; -moz-transition: all 0.5s ease 0s; -ms-transition: all 0.5s ease 0s; -o-transition: all 0.5s ease 0s; transition: all 0.5s ease 0s; } .PopularPosts ul li:hover { opacity: 1; } .PopularPosts .item-thumbnail { margin: 0; width: 100%; } .PopularPosts ul li img { box-sizing: border-box; width: 100%; height: 100%; object-fit: cover; padding:0; } .PopularPosts .item-content:hover .item-title a, .PopularPosts .item-thumbnail-only:hover .item-title a { visibility: visible; opacity: 1; } .PopularPosts .item-title a { color: #fff; background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.93) 100%, rgba(0, 0, 0, 0.85) 100%); text-decoration: none; position: absolute; text-align: center; font: 13px Oswald, sans-serif; left: 0; right: 0; bottom: 0%; padding: 100px 10px 10px; opacity: 0; visibility: hidden; } .PopularPosts .item-snippet { display: none; } </style> <!------------------ Copy Code End Here --------------------> <div class='widget PopularPosts' data-version='1' id='PopularPosts1'> <h2>Popular Posts</h2> <div class='widget-content popular-posts'><ul> <li><div class='item-content'><div class='item-thumbnail'> <a href='/' target='_blank'><img alt='' border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCxz8OvzH2BCIS9F2PIyfF91zQAIj4e0nascSdSmPFx34-0hxVRYxIOJPOPl3Kk0A6ifD1xqIIXSg3clJnvuA2bHUjYlsYGFlKT5ni3rzmnHP7WuHASprIELJuOGx7p4X69ypoir-Rmvg/s1600/1.jpg'/></a></div> <div class='item-title'><a href='/'>How not knowing weight loss supplements makes you a rookie</a></div> <div class='item-snippet'>Expose: you're losing money by not using preventative medicines. 6 ways fitness programs can find you the love of your life. Why cholest...</div></div> <div style='clear: both;'></div></li> <li><div class='item-content'><div class='item-thumbnail'> <a href='/' target='_blank'><img alt='' border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7zVpURaByEkgmB1GU6lk2HZ82cmOXQ19gM1VQd10WHboulHDGWa7PUCcJtg8oB_O8YkqSGUIXzWrf65lPNBKwhDfaBSRJvn5o7qgzP7lCQWDIAJUcBmGCgrL4SjA6d-EMXD0tHWZLBQk/s1600/2.jpg'/></a></div> <div class='item-title'><a href='/'>Will makeup brushes ever rule the world?</a></div> <div class='item-snippet'>The oddest place you will find celebrity houses. The 15 best lifestyle blog youtube videos. Why you'll never succeed at celebrity gossip...</div></div> <div style='clear: both;'></div></li> <li><div class='item-content'><div class='item-thumbnail'> <a href='' target='_blank'><img alt='' border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggaygZwwoMmK041gMY3Hjq5juF5IHMyVQKAA5yD4qHnOZqg5b6ksRC7bxifXTr4Cwf9zs7W3IFtlxS-ySR14q0jt2OqKHT2XiIu8Zd-ri_PfbUlYCzzZLpGzXJLaxJCdLy8C3k1hCt7ws/s1600/3.jpg'/></a></div> <div class='item-title'><a href=''>Why unique dresses are on crack about unique dresses</a></div> <div class='item-snippet'>Why do people think trendy cloths are a good idea? If you read one article about women cloths read this one. The 8 biggest fashion magazine ...</div></div> <div style='clear: both;'></div></li> </ul></div></div>