Auto Scrolling Marquees
CNTRL STUDIO •
CNTRL STUDIO •
CNTRL STUDIO •
CNTRL STUDIO •
CNTRL STUDIO •
CNTRL STUDIO •
CNTRL STUDIO •
CNTRL STUDIO •
JSON File
HTML
CNTRL STUDIO •
CNTRL STUDIO •
CNTRL STUDIO •
CNTRL STUDIO •
CNTRL STUDIO •
CNTRL STUDIO •
CNTRL STUDIO •
CNTRL STUDIO •
CSS
.marquee1 {
display: flex;
overflow: hidden;
height: 192px;
letter-spacing: 16px;
user-select: none;
gap: 1rem;
padding: 1rem 0;
}
.marquee__group1 {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;
min-width: 100%;
animation: scroll 40s linear infinite;
}
.marquee__group1 span {
color: #2818f8;
font-size: 192px;
font-weight: 800;
white-space: nowrap;
font-family: 'Anton' !important;
text-transform: uppercase;
font-style: italic;
transition: color 0.3s ease;
}
.marquee__group1 span:hover {
color: #E2F219 !important;
-webkit-text-fill-color: initial !important;
text-fill-color: initial !important;
-webkit-text-stroke: initial !important;
text-stroke: initial !important;
outline: none !important;
box-shadow: none !important;
}
/* Responsive Sizing by px */
@media (max-width: 1024px) {
.marquee__group1 span {
font-size: 70px;
}
}
@media (max-width: 768px) {
.marquee__group1 span {
font-size: 50px;
}
}
@media (max-width: 480px) {
.marquee__group1 span {
font-size: 30px;
}
}
@keyframes scroll {
from {
transform: translateX(0);
}
to {
transform: translateX(calc(-100% - 2rem));
}
}