+ 1

animated scroll when linking a div element to <a> tag

<a href='#block'>move</a> . . <div id='block'>hello</div> on linking div element to a tag it will scroll to the div element position. I want this scroll to be little animated, but Without using JS. Any suggestions?

24th Mar 2018, 7:43 AM
Prateek Narang
Prateek Narang - avatar
1 ответ
+ 1
Hi Prateek See here http://jsfiddle.net/YYPKM/3/
24th Mar 2018, 8:15 AM
Mike Choy
Mike Choy - avatar