DEV Community

loading...

Discussion on: Scroll to Top Button using HTML CSS & JQuery

starryepidemic profile image
StarryEpidemic

No but who doesnt use bootstrap

Thread Thread
cwraytech profile image
Christopher Wray • Edited

Yellow, I agree. You can just add smooth scrolling to the HTML in CSS.

html {
  scroll-behavior: smooth;
}
Enter fullscreen mode Exit fullscreen mode
Thread Thread
cwraytech profile image
Christopher Wray

Starry, I don't use Bootstrap. (: I stick to Tailwind, or custom CSS

Thread Thread
nwaforaustine profile image
Nwafor Austine

Using scroll behaviour is just the way to go. I see no reason why I should use jQuery to implement this.

yellow1912 profile image
yellow1912

I don't, and many others don't as well. Don't make assumptions:).

Thread Thread
starryepidemic profile image
StarryEpidemic

K i admit im a bit new to this stuff and most programmers that i have seen use bootstrap for their projects.

Thread Thread
cwraytech profile image
Christopher Wray • Edited

No worries! We’re all new at something.