Home › Forums › JavaScript › Responsive background images – fit one dimension, expand other dimension › Reply To: Responsive background images – fit one dimension, expand other dimension
September 15, 2013 at 11:58 pm
#150174
Participant
The only way I can think of would be to use javascript. CodePen. As far as I know, I don’t think this is possible without it but its only one line of jQuery.
You need to make sure to define each ‘slide’ with the same element such as the <section>
so that it can set a height to all of the slides.
Hope this helps :)