• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
+ 3

Scroll behavior

Why scroll behavior isn't working https://code.sololearn.com/W21S7QF2SBnV/?ref=app

behaviorscrollsmooth
30th Dec 2020, 5:29 AM
Jothish
Jothish - avatar
1 Respuesta
+ 5
Just add in CSS html {   scroll-behavior: smooth; } Would give you a smooth scroll while clicking on go to the top button.
30th Dec 2020, 5:33 AM
Maninder $ingh
Maninder $ingh - avatar

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
I've a HTML code question
1 Votes
How my gradient is so mess I code in vscode and copied here to ask some questions please help me with this one too
0 Votes
C++
1 Votes
Offline AI Model with Fast Voice Chat
2 Votes
Please tell me about methods
1 Votes
HELP ME LEARN
0 Votes
Appointment Booking website
0 Votes
Does anyone know how to go to another "page" on the same page using the HTML button tag?
2 Votes
Mentors
1 Votes
Sololearn coders should sharpen their knowledge. What should be the output? Sololearn says it's 20. Do you agree with them?
0 Votes