Answer the question
In order to leave comments, you need to log in
How to include the UIKIT effect in a project?
The question is probably not very smart, but how to connect parallax to the block? The manual says to add the data-uk-parallax="{bg: '-200'}" attribute. and everything will work, but nothing works(I can't understand why(
getuikit.ru/docs/parallax.html
Answer the question
In order to leave comments, you need to log in
It is necessary to connect not only the core module, but also the necessary components.
<script src="jquery.js"></script>
<script src="uikit.js"></script>
<script src="components/parallax.js"></script>
It would be worthwhile to indicate a link to your site where it doesn’t work, otherwise it’s fortune-telling on coffee grounds ..
Try to connect the full components of the framework at the beginning:
https://codepen.io/AxeLVaisper/pen/eKxmej
and next to the button copy the code example there is a button edit on codepen^ ^
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question