.scrollBy()

Term side of the Card
Topic: Object on Page
Unit title: .scrollBy()
Categories: Method
Explanation side of the Card

Explanation: The browser API method that scrolls the document or an element by a specified amount in pixels relative to its current scroll position. It's useful for smoothly moving content up, down, left or right.

Browser compatibility:
  • The chrome browser supports this feature starting from version 61
  • The edge browser supports this feature starting from version 79
  • The firefox browser supports this feature starting from version 36
  • The safari browser supports this feature starting from version 10.1
Availability: