What does the slider class do on the carousels? #34881
Unanswered
AnupamKhosla
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Every carousel in bootstrap need to have the
.slider
class. I assume it is used in the JavaScript code to add and removecarousel-item-next
andcarousel-item-left
. Searching the css file.slider
doesn't apply any styling whatsoever. It is a bit confusing to see a class added with no explanation in the docs, which doesn't apply any style.Shouldn't it be mentioned in the docs that
.slider
is a mandatory class for the carousel to function properly?Beta Was this translation helpful? Give feedback.
All reactions