I want to set custom height (and possible other things) the the flickity 'carousel-cells' INDIVIDUALLY. I can see it is calculated somehow with with javascript by the flickity package itself.
How could I overwrite this, to create something like this (with the smaller inactive slide)?
I have tried to give the carousel-cells a height of 300px, and the active carousel (who has a class is-selected
) a height of 500px. That did not work.
.carousel-cell {
width: 70%;
height: 300px;
background: #8C8;
}
.is-selected{
height: 500px !important;
}