<div class="vertical-marquee">
<div class="vertical-marquee__lane">
<span>⭐ New Feature</span>
<span>🚀 Fast</span>
<span>🎨 Modern</span>
<span>💡 Intuitive</span>
<span>⭐ New Feature</span>
<span>🚀 Fast</span>
</div>
</div>
<style>
.vertical-marquee {
position: relative;
width: 180px;
height: 200px;
overflow: hidden;
border-radius: 12px;
background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(139, 92, 246, 0.12));
border: 1px solid rgba(255, 255, 255, 0.24);
}
.vertical-marquee::before,
.vertical-marquee::after {
content: '';
position: absolute;
left: 0;
right: 0;
height: 40px;
pointer-events: none;
z-index: 1;
}
.vertical-marquee::before {
top: 0;
background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), transparent);
}
.vertical-marquee::after {
bottom: 0;
background: linear-gradient(0deg, rgba(15, 23, 42, 0.92), transparent);
}
.vertical-marquee__lane {
display: flex;
flex-direction: column;
gap: 18px;
padding: 18px;
animation: verticalScroll 10s linear infinite;
}
.vertical-marquee__lane span {
white-space: nowrap;
font-size: 14px;
font-weight: 600;
color: rgba(226, 232, 240, 0.9);
padding: 8px;
border-radius: 8px;
background: rgba(15, 23, 42, 0.5);
text-align: center;
}
@keyframes verticalScroll {
from {
transform: translateY(0);
}
to {
transform: translateY(-50%);
}
}
</style>