Is there a way to add a -100 top offset with inline javascript like this?
<a href="javascript:;" onClick="document.getElementById('register').scrollIntoView({behavior: 'smooth'});">REGISTER NOW</a> https://stackoverflow.com/questions/66774178/how-to-add-offset-to-inline-javascript-scroll March 24, 2021 at 11:06AM
没有评论:
发表评论