Closed D-Marc1 closed 7 years ago
should be working when using the html version. make sure to set a minimum height for the parallax-window and the element with the background.
<div class="parallax-window">
<div class="parallax-slider">
<div class="with-background-image">Div with background image and minimum height</div>
</div>
</div>
$('.parallax-window').parallax();
@wstoettinger where can I find the styles for those classes in the mark-up?
@dspacejs natively this library doesn't use styles. It just uses the class names to identify the elements.
Maybe I'm missing something here, but it seems like there is no way to use this plugin with the CSS
background-image
property. This would be great for using withbackground-size: cover
.