0

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

21st Aug 2019, 5:49 AM
𝒜𝓃𝓊𝒿 đ“Žđ’¶đ’čđ’¶đ“‹
𝒜𝓃𝓊𝒿 đ“Žđ’¶đ’čđ’¶đ“‹ - avatar
2 RĂ©ponses
+ 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