smooth-scroll on button


Topic: smooth-scroll on button

Delari pro asked 7 years ago

hello,
Tell me how to apply smooth-scroll to a button

<a class="btn btn-outline-white" href="#Solutions">Read more</a>

that not work
<a class="btn btn-outline-white smooth-scroll" href="#Solutions">Read more</a>

<section id="Solutions"> ... </ section>

Mikołaj Smoleński staff answered 7 years ago

Hi Delari,

Please try the following code and let me know if it solved Your issue:

<div class="smooth-scroll">
 <a class="btn btn-outline-white" href="#Solutions">Read more</a>
</div>
<div style="height: 1800px; width: 100%"></div>
<section id="Solutions"> ... </section>

Regards


Dávid Kőrösi commented 6 years ago

it worked for me, thanks!

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No