diff --git a/2-ui/1-document/09-size-and-scroll/article.md b/2-ui/1-document/09-size-and-scroll/article.md index 024e9a4d..13e245eb 100644 --- a/2-ui/1-document/09-size-and-scroll/article.md +++ b/2-ui/1-document/09-size-and-scroll/article.md @@ -211,7 +211,7 @@ If you click the element below, the code `elem.scrollTop += 10` executes. That m
Click
Me
1
2
3
4
5
6
7
8
9
``` -Setting `scrollTop` to `0` or `Infinity` will make the element scroll to the very top/bottom respectively. +Setting `scrollTop` to `0` or a big value, such as `1e9` will make the element scroll to the very top/bottom respectively. ```` ## Don't take width/height from CSS