baianat / hooper

🎠 A customizable accessible carousel slider optimized for Vue
https://baianat.github.io/hooper/
MIT License
720 stars 131 forks source link

Set the width of the slide items in percentage widths instead of px widths #149

Open ghost opened 5 years ago

ghost commented 5 years ago

Is your feature request related to a problem? Please describe. I'd like the Hooper carousel to expand and contract to the height of the container or parent element where Hooper is placed in my code. Since the slide's widths, within Hooper, are set via hard pixel widths, this can not be achieved. If the slides were set with percentage widths, what I described in the first sentence, is possible.

Describe the solution you'd like Set the widths of the slides in percentages instead of pixel widths.