From d35baee32dcce127a69325c274799bb81db1afd8 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Sun, 7 Jun 2020 18:57:32 +0300 Subject: [PATCH] closes #1949 --- 2-ui/1-document/09-size-and-scroll/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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