<div class="card"> <div class="image"></div> <div class="content"> <p class="text-1"> Run with the pack </p> <div class="text-2"> <span> Get 35% off </span> <span>On your next order over $100</span>
.card { overflow: hidden; border-radius: 0.5rem; max-width: 300px; background-color: #fff; color: #212121; } .image { height: 8rem; width: 100%; object-fit: cover;