Hello!
I´m using smooth scroll to menu items with this code:
<a class="smooth-scroll" href="#my-section">My Section</a>
where class smooth scroll lets to do scroll to my-section. And menu buttons work well.
But now, I´ve other buttons which they use a different class:
<a class="button windows" href="#en-mac">....</a>
And I want to use the smooth-scroll in this class but I don´t know how I can add smooth-scroll in my class. In other words, I can´t use in my button my own class “button windows” + “smooth-scroll”.
How can I add smooth-scroll in my class “button windows”?
I´ve tried this:
.button.windows,
.button.windows:visited {
...
....
....
scroll-behavior: smooth;<<<<<<<<<===========
}
But scroll-behavior doesn´t works 🙁
Thank you!