Answers for "smooth scroll in jquery to a div"

0

jquery smooth scrool

('a[href*="#"]').on('click', function (e) {
  e.preventDefault()

  $('html, body').animate(
    {
      scrollTop: $($(this).attr('href')).offset().top,
    },
    500,
    'linear'
  )
})
Posted by: Guest on June-01-2021
0

smooth scroll jquery

smooth scroll
Posted by: Guest on October-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language