Skip to content

Instantly share code, notes, and snippets.

View brandonjspencer's full-sized avatar

brandonjspencer

View GitHub Profile
<div class="img-ratio img-179157345-ratio">
<style>
.img-179157345-ratio:after { padding-bottom: 76.612%; }
</style>
<img
class=" fit-contain position-center-center img-ratio-used"
data-sizes="auto"
srcset="/content/dam/Gorilla-Guide-Image-1200%201.png.imgw.768.432.png 768w,
/content/dam/Gorilla-Guide-Image-1200%201.png.imgw.1280.720.png 1280w,
/content/dam/Gorilla-Guide-Image-1200%201.png.imgw.1920.1080.png 1920w,