Skip to content

Instantly share code, notes, and snippets.

@webinmd
Created April 27, 2018 13:16
Show Gist options
  • Save webinmd/4d4d5d38fbf1cfac11f1444609a87374 to your computer and use it in GitHub Desktop.
Save webinmd/4d4d5d38fbf1cfac11f1444609a87374 to your computer and use it in GitHub Desktop.
Equal Heights for OwlCarousel 2
/* Equal Heights for OwlCarousel 2 */
.owl-carousel {
.owl-stage {
display: flex;
}
.owl-item {
display: flex;
flex: 1 0 auto;
}
.caption {
display: flex;
flex: 1 0 auto;
flex-direction: column;
}
.flex-text {
flex-grow: 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment