Topic: smooth-scroll on button
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>
Add comment
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
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