Holographic Shimmer
A rainbow gradient sweeps across the card on hover using translateX over a multi-colour iridescent base layer.
Holographic Shimmer the 4th of 27 designs in the 27 CSS Card Hover Effects collection. The design is implemented in pure CSS — no JavaScript required. Copy the HTML and CSS panels below into your project. Because the demo is pure CSS, it works in any framework or templating engine you happen to use. The design honours prefers-reduced-motion and uses real semantic markup, so it ships accessibility-ready out of the box.
Live preview
The code
<div class="card-04"> <div class="card-04__shine"></div> <span class="card-04__tag">Ultra Rare</span> <h4 class="card-04__title">Holographic</h4> <p class="card-04__body">Rainbow light sweeps the surface.</p> <div class="card-04__bar"></div> </div>
.card-04__tag {
font-family: monospace;
font-size: 10px;
padding: 2px 8px;
border-radius: 20px;
background: rgba(124, 108, 255, 0.15);
color: #7c6cff;
border: 1px solid rgba(124, 108, 255, 0.3);
display: inline-block;
margin-bottom: 10px;
}
.card-04__title {
font-size: 17px;
font-weight: 700;
color: #f0eeff;
margin-bottom: 6px;
}
.card-04__body {
font-size: 13px;
color: #b8b6d4;
line-height: 1.6;
}
.card-04 {
width: 100%;
max-width: 280px;
position: relative;
overflow: hidden;
padding: 22px;
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, 0.12);
cursor: pointer;
}
.card-04::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(124, 108, 255, 0.18), rgba(61, 232, 245, 0.12), rgba(255, 108, 138, 0.18), rgba(30, 217, 138, 0.12));
opacity: 0.75;
}
.card-04__shine {
position: absolute;
inset: 0;
background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.2) 50%, transparent 80%);
transform: translateX(-100%);
transition: transform 0.65s ease;
}
.card-04:hover .card-04__shine {
transform: translateX(100%);
}
.card-04__tag,
.card-04__title,
.card-04__body,
.card-04__bar {
position: relative;
z-index: 1;
}
.card-04__bar {
height: 3px;
border-radius: 2px;
margin-top: 14px;
background: linear-gradient(90deg, #7c6cff, #ff6c8a, #3de8f5);
}