<section id="product1">
  <h2>Featured Products</h2>
  <p>Designer Collection</p>
  <div class="product-container">
    <div class="product">
      <img src="product1" alt="Product">
      <div class="desc">
        <span>Shoes</span>
        <h5>T-Shirts</h5>
        <h4>$78</h4>
      </div>
      <a href="#"><i class="fa fa-cart-shopping mycart"></i></a>
    </div>
  </div>
</section>
body {
  background: #ccc;
}
#product1 .product .mycart {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50px;
  background-color: white;
  /*font-weight: 500;*/
  color: green;
  border: 1px solid white;
  position: absolute;
  bottom: 20px;
  right: 10px;
}
Run Pen

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css

External JavaScript

This Pen doesn't use any external JavaScript resources.