Answer the question
In order to leave comments, you need to log in
How to implement 3D rotation?
The button structure looks like this:
<span>
<span class="action">Показать телефон</span><span class="phone">8800-0000000</span>
</span>
Answer the question
In order to leave comments, you need to log in
So, what is the crux of the matter? Take and attach to the site. Check if it works in Chrome. If you have a smartphone - look through it ...
So what's the problem? You take the css from the example, attach it to the class and on click add this class to the desired block, like
$(document).on('click', '.selector', function(){
$(this).addClass('transform') ;
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question