<div class="text-scroller">
<div class="scroller-left">
<div class="werd">Design Photography Music Experience Fashion Design Photography Music Experience Fashion</div>
</div>
<div class="scroller-right">
<div class="werd">Design Photography Music Experience Fashion Design Photography Music Experience Fashion</div>
</div>
</div>
<div class="image-scroller">
<div class="scroller-left">
<div class="look">
<img loading="lazy" src="https://images.unsplash.com/photo-1549997966-8ec471e6b574?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ" />
<img loading="lazy" src="https://images.unsplash.com/photo-1550402537-6f7b6189b3b6?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ" />
<img loading="lazy" src="https://images.unsplash.com/photo-1468534555638-df185fc47f0b?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ" />
<img loading="lazy" src="https://images.unsplash.com/photo-1578552318387-021216990b5a?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ" />
<img loading="lazy" src="https://images.unsplash.com/photo-1590901239752-ca6481cc811c?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ" />
<img loading="lazy" src="https://images.unsplash.com/photo-1595305726959-d84ab3d32a65?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ" />
</div>
</div>
<div class="scroller-right">
<div class="look">
<img loading="lazy" src="https://images.unsplash.com/photo-1549997966-8ec471e6b574?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ" />
<img loading="lazy" src="https://images.unsplash.com/photo-1550402537-6f7b6189b3b6?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ" />
<img loading="lazy" src="https://images.unsplash.com/photo-1468534555638-df185fc47f0b?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ" />
<img loading="lazy" src="https://images.unsplash.com/photo-1578552318387-021216990b5a?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ" />
<img loading="lazy" src="https://images.unsplash.com/photo-1590901239752-ca6481cc811c?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ" />
<img loading="lazy" src="https://images.unsplash.com/photo-1595305726959-d84ab3d32a65?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ" />
</div>
</div>
</div>
body{
background-color: rgba(209, 169, 148, 1);
}
@keyframes scroller {
0% {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
visibility: visible;
}
100% {
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
}
@keyframes bloom {
0% {
filter: grayscale(0);
}
40% {
filter: grayscale(.5);
}
100% {
filter: grayscale(.8);
}
}
.text-scroller{
position: fixed;
display: inline-flex;
width: 100%;
overflow: hidden;
height: 50vh;
text-transform: uppercase;
align-items: center;
justify-content: center;
}
.scroller-left {
left: 100%;
}
.werd {
height: 4rem;
padding-left: 1rem;
line-height: 4rem;
white-space: nowrap;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-name: scroller;
animation-name: scroller;
-webkit-animation-duration: 40s;
animation-duration: 40s;
font-size: 6vw;
color: white;
}
.image-scroller{
position: fixed;
display: flex;
width: 100%;
overflow: hidden;
height: 80vh;
align-items: space-between;
justify-content: center;
z-index: 444;
top: 24%;
}
.image-scroller-left {
left: 100%;
}
.image-scroller .look{
white-space: nowrap;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-name: scroller;
animation-name: scroller;
-webkit-animation-duration: 40s;
animation-duration: 40s;
}
.look img{
width: 10vw;
margin-right: 40px;
filter: grayscale(0);
-webkit-clip-path: inset(0 0 0 0);
clip-path: inset(0 0 0 0);
-webkit-transition: 1s cubic-bezier(.075,.82,.165,1);
-moz-transition: 1s cubic-bezier(.075,.82,.165,1);
transition: 1s cubic-bezier(.075,.82,.165,1);
}
.look img:hover{
animation: bloom ease-in-out .75s forwards;
clip-path: inset(10px);
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.