---
id: "scroll-elements"
kind: "web-feature"
canonical: "https://timetostable.com/feature/scroll-elements"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Scroll methods on elements (`scroll-elements`)

The scroll() and scrollBy() methods change the scroll position of overflow content within an element. Similar to setting scrollTop and scrollLeft properties, but with options setting whether the scroll should animate smoothly or jump. Note that scrollTo() is an alias for scroll().

- **Group**: Scrolling
- **Baseline**: Widely Available
- **Newly Available Date**: 2020-09-16
- **Widely Available Date**: 2023-03-16
- **Specification**: https://drafts.csswg.org/cssom-view-1/#dom-element-scroll
- **Constituent BCD keys**: 35

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Firefox | 36 | 2015-02-24 |
| Firefox for Android | 36 | 2015-02-27 |
| Chrome | 61 | 2017-09-05 |
| Chrome Android | 61 | 2017-09-05 |
| Edge | 79 | 2020-01-15 |
| Safari | 14 | 2020-09-16 |
| Safari on iOS | 14 | 2020-09-16 |

