Answer the question
In order to leave comments, you need to log in
Cubic-bezier in javascript?
How CSS3's cubic-bezier timing is applied is well known. But how do I use such a value in my jQuery expression? For example, I have a structure:
var time = 1000;
$('.header-arrow').on('click', function(){
$('body,html').animate({
scrollTop: $(window).height(),
}, time
);
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question