The photo above represents a slider I'm doing on a page.
Each slider has an image in the middle representing the white sphere.
I want all sliders that are made up of li
to be the same size, the same size as the larger one, that is, the orange slider.
Regardless of the color, it was just an example, I want them to be the same size.
The black line represents the end of li
orange. I want everyone else to go to the end.
I tried ...
ul{
height: 100%;
}
li{
height: 100%;
}
... but it did not work out.
The li(s)
has no fixed size. They just take the height of the object that is in the middle, sometimes the object is bigger than the other and ends up giving that difference.