.masonry-content img { margin: 20px; } .masonry-content div.price{ float:right; font-size:18px; margin:20px; color:blue; } .masonry-content span.discount{ display:block; } .masonry-item a { text-decoration:none; color: inherit; } .masonry-content span.discount-small { color: #FFC300; } .masonry-content span.discount-large { animation: blinker 1s linear infinite; color:red } .masonry-wrapper:first-of-type{ padding-bottom:0px } .masonry-wrapper{ padding-top:0px } form:hover, img:hover{ transform: scale(1.1); } input[type="submit"]:hover{ border-color:blue; border-width:2px; line-height:30px; } a[data-href]{ cursor:pointer; } @keyframes blinker { 50% { opacity: 0; } }