Minima template – no border on images

The Minima template puts a nice light grey border around images. But what if on some images you don’t want a border? One way to do it is to add another img class to the /* Posts section of the CSS. For example

.post img-no-border img {
border: none;
}

Then in your post, add a call to the new class like so:

<img-no-border class="img"><img src="http://www.example.com/example.gif"></img-no-border>

Border

No Border

Leave a Reply

Your email address will not be published. Required fields are marked *

Shares