kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.34k stars 5.88k forks source link

Using the ideas above, I found a pleasing (not perfect) solution for the problem, i guess: #4085

Open Aldair05 opened 3 years ago

Aldair05 commented 3 years ago

Le hice modificaciones con less muchas gracias por tu aporte Saludos.

    .slick-carousel-home{
                        visibility: hidden;
                        opacity: 0;
                        transition: opacity 0.3s;
                    }
                    .slick-carousel-home.slick-initialized{
                        visibility: visible;
                        opacity: 1;
                        .slick-slide{
                            display: block;
                            visibility: visible !important;
                        }
                    }

                    .slick-carousel-home {
                        .slick-slide{
                            display: none;
                            &:first-child{
                                display: block;
                                visibility: hidden;
                            }
                        }
                    }

Originally posted by @RedlingshoeferUndHofmann in https://github.com/kenwheeler/slick/issues/1741#issuecomment-292218446