JSFiddle - React, Tailwind, and code Playground
by xmbohx
HTML
<div class="group">
<div id="" class="">
<div class="image-container item-details-image">
<div>
<!--preview-->
<div id="" class="">
<div class="preview-img cursor-pointer">
<!---->
<div class="hv-centered">
<img class="show-img img-fluid" src="https://winglok.wordpress.com/wp-content/uploads/2011/07/computer-2.jpg" alt="" />
</div>
<!--zoom-->
<div class="image-overlay"></div>
<div class="image-overlay-details v-centered">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 512 512" xml:space="preserve" class="icon icon-xxlg-md fill-white">
<path d="M283.9 186.4h-64.6l-.4-71.1c-.1-8.8-7.2-15.9-16-15.9h-.1c-8.8.1-16 7.3-15.9 16.1l.4 70.9h-64.4c-8.8 0-16 7.2-16 16s7.2 16 16 16h64.6l.4 71.1c.1 8.8 7.2 15.9 16 15.9h.1c8.8-.1 16-7.3 15.9-16.1l-.4-70.9h64.4c8.8 0 16-7.2 16-16s-7.1-16-16-16z"></path>
<path d="M511.3 465.3L371.2 325.2c-1-1-2.6-1-3.6 0l-11.5 11.5c31.6-35.9 50.8-82.9 50.8-134.3C406.9 90.3 315.6-1 203.4-1 91.3-1 0 90.3 0 202.4s91.3 203.4 203.4 203.4c51.4 0 98.5-19.2 134.3-50.8l-11.5 11.5c-1 1-1 2.6 0 3.6l140.1 140.1c1 1 2.6 1 3.6 0l41.4-41.4c.9-.9.9-2.5 0-3.5zm-307.9-92.5C109.5 372.8 33 296.4 33 202.4S109.5 32.1 203.4 32.1s170.4 76.4 170.4 170.4-76.4 170.3-170.4 170.3z"></path>
</svg>
</div>
</div>
<div>
<div class="primary-image font-xs">
<span class="primary-image-desc">
<!---->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 512 512" xml:space="preserve" class="icon icon-xsmall align-middle">
<circle fill="#10BC83" cx="256" cy="256" r="256"></circle>
<path...