J
J
Jimmy Exploit2016-01-21 17:55:02
UIkit
Jimmy Exploit, 2016-01-21 17:55:02

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

2 answer(s)
B
beaverBox, 2016-01-22
@Jimmy_Exploit

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>

A
Alexander Reshetnyak, 2018-06-30
@Vampireos

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 question

Ask a Question

731 491 924 answers to any question