0

What's difference between auto and scroll properties of overflow?

21st Aug 2019, 5:49 AM
๐’œ๐“ƒ๐“Š๐’ฟ ๐“Ž๐’ถ๐’น๐’ถ๐“‹
๐’œ๐“ƒ๐“Š๐’ฟ ๐“Ž๐’ถ๐’น๐’ถ๐“‹ - avatar
2 Antwoorden
+ 1
The "auto" value makes a scroll bar appear only when the content of an element overflows, if the content doesn't overflow then a scroll bar isn't displayed. The "scroll" value displays a scroll bar at all times even if an element's content doesn't overflow.
21st Aug 2019, 6:22 AM
Ryan
Ryan - avatar
+ 1
Thanks. I got it. ๐Ÿ‘
21st Aug 2019, 6:28 AM
๐’œ๐“ƒ๐“Š๐’ฟ ๐“Ž๐’ถ๐’น๐’ถ๐“‹
๐’œ๐“ƒ๐“Š๐’ฟ ๐“Ž๐’ถ๐’น๐’ถ๐“‹ - avatar