0

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

21st Aug 2019, 5:49 AM
š’œš“ƒš“Šš’æ š“Žš’¶š’¹š’¶š“‹
š’œš“ƒš“Šš’æ š“Žš’¶š’¹š’¶š“‹ - avatar
2 Answers
+ 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