JSFiddle - React, Tailwind, and code Playground
by Nikhil krishnan
HTML
<ul>
<li>
<img src="https://www.alpha.mous.co/wp-content/uploads/images/Black-Flex-Mount-Car-Mount-on-Ledge1-300x300.jpg" alt="">
<button>+</button>
</li>
<li>
<img src="https://www.alpha.mous.co/wp-content/uploads/images/Mounts-for-iPhone-6s-Case1-768x768comp-02-300x300.jpg" alt="">
<button>+</button>
</li>
</ul>
CSS
li {
display: inline-block;
position: relative;
width: 200px;
}
button{
position: absolute;
left: 50%;
width: 24px;
margin-left: -12px;
bottom: 10px;
padding: 0;
border: none;
background-color: transparent;
cursor: pointer;
font-weight: bold;
font-size: 30px;
color: #fff;
mix-blend-mode: difference;
}
button:hover{
color: #00cc9c;
mix-blend-mode: initial;
}
img {
width: 100%;
}