<div class="post-104 post type-post status-publish category-black"> <a href="..."> <img src="https://site.com/wp-content/cache/thumbnails/thumb.jpg"> </a> </div>
Related questions
.category-black:after{}
.category-black{ position: relative; } .category-black:after{ content: "; position: absolute; top: 0; left: 0; z-index: 5; background-image: url('img/icon.png'); background-repeat: no-repeat; width: 100px; height: 100px; }
Find more questions by tags CSS