*/
@mixin white-gradient .container{ margin: auto; background-color: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%)white; width: 800px; padding: 30px;
}
$animationSpeedli { padding: 40s0; margin: 0; list-style: none;} ul.slider{ position: relative; width: 800px; height: 300px;}
/* Animation*/ul.slider li { position: absolute; left: 0px;@keyframes scroll { top: 0px; opacity: 0% { transform; width: inherit; height: inherit; transition: translateX(0)opacity .5s; } 100% { transform background: translateX(calc(-250px * 7))}#fff;
}
ul.slider li img{
width: 100%;
height: 300px;
object-fit: cover;
}
/* Styling*/ul.slider { background: white; box-shadowli: 0 10px 20px first-5px rgba(0, 0, 0, .125);child { height opacity: 100px1;/*Mostramos el primer <li>*/ margin: auto;} overflow:hidden; positionul.slider li: relative;target { width opacity: 960px1;/*Mostramos el <li> del enlace que pulsemos*/ } &::before, &::after .menu{ @include white text-gradient; contentalign: ""center; height margin: 100px; position: absolute; width: 200px; z-index: 220px; } &::after .menu li{ right display: 0inline-block; top: 0; transform text-align: rotateZ(180deg)center; }
&::before .menu li a{ left display: 0inline-block; top color: 0white; } text-decoration: none; .slide background-track { animationcolor: scroll $animationSpeed linear infinitegrey; display padding: flex10px; width: calc(250px * 14)20px; } .slide { height: 100px20px; width font-size: 250px20px; } border-radius: 100%;
}