Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Using variable height content and multiple images per slide #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

legostud
Copy link

Changed to keep the navigation after the slides which allows the use of nth:child to style content of varying heights into a grid which then become slides by row.
/* three wide carousel */
.newcarousel .slide {
float: left;
width: 33.3%;
}
.newcarousel .slide:nth-child(3n+1) {
clear:left;
}
.newcarousel .newcarousel-item.slide:nth-child(1n) {
clear:none;
}

This allows the use of nth:child to style content of varying heights into a grid which then become slides by row.
/* three wide carousel */
.newcarousel .slide {
  float: left;
  width: 33.3%;
}
.newcarousel .slide:nth-child(3n+1) {
  clear:left;
}
.newcarousel .newcarousel-item.slide:nth-child(1n) {
  clear:none;
}
@jefflembeck
Copy link
Collaborator

Hi. I'm wondering what the exact feature request is here and if you can include an example of what you're trying to do in the documentation.

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants