@keyframes scroll{0%{transform:translateX(0)}to{transform:translateX(-1740px)}}.slider{height:120px;margin:auto;overflow:hidden;position:relative;max-width:960px}.slider:after,.slider:before{background:linear-gradient(90deg,rgb(255,255,255) 0,rgba(255,255,255,0));content:"";height:120px;position:absolute;width:100px;z-index:2}.slider:after{right:-5px;top:0;transform:rotate(180deg)}.slider:before{left:-5px;top:0}.slider .slide-track{animation:scroll 40s linear infinite;display:flex;width:1740px}.slider .slide{height:100px;min-width:250px;margin-inline:20px}