<div class="card"> <div class="card__info"> <div class="card__logo">MasterCard</div> <div class="card__chip"> <svg class="card__chip-lines" role="img" width="20px" height="20px" viewBox="0 0 100 100" aria-label="Chip"> <g opacity="0.8"> <polyline points="0,50 35,50" fill="none" stroke="#000" stroke-width="2"></polyline> <polyline points="0,20 20,20 35,35" fill="none" stroke="#000" stroke-width="2"></polyline> <polyline points="50,0 50,35" fill="none" stroke="#000" stroke-width="2"></polyline> <polyline points="65,35 80,20 100,20" fill="none" stroke="#000" stroke-width="2"></polyline> <polyline points="100,50 65,50" fill="none" stroke="#000" stroke-width="2"></polyline> <polyline points="35,35 65,35 65,65 35,65 35,35" fill="none" stroke="#000" stroke-width="2"></polyline>
.card, .card__chip { overflow: hidden; position: relative; } .card, .card__chip-texture, .card__texture { animation-duration: 3s; animation-timing-function: ease-in-out; animation-iteration-count: infinite;