<img class="img--rounded" src="/embrace/img/320px/embrace.jpeg" alt="A warm embrace">
Make square images circular. That’s it.
<img class="img--circular" src="/embrace/img/320px/embrace-square.jpeg" alt="A warm embrace">
Float images to the left or right, extending the .float-left
and .float-right
utility classes, but adding sensible margins to prevent collisions with content. You may wish to .clearfix
the parent element, feel free to do so.
<img class="img--left" src="/embrace/img/320px/embrace.jpeg" alt="A warm embrace">
<img class="img--right" src="/embrace/img/320px/embrace.jpeg" alt="A warm embrace">
Make images to cover the parent element to give a background image effect.
<img class="img--cover" src="/embrace/img/640px/embrace.jpeg" alt="A warm embrace">
Reduce an image size using width classes to ”retina-fy” your image by squishing it into a smaller container! Just wrap an image in any block-level element and resize it with Embrace’s width classes.
<figure class="one-third">
<img class="img--cover" src="/embrace/img/640px/embrace.jpeg" alt="A warm embrace">
</figure>