The CSS overflow property specifies the behavior that occurs when an element's content overflows the element's box. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

The CSS overflow property specifies the behavior that occurs when an element's content overflows the element's box.

someone explain it more why we use this item?!and when?

30th Jul 2017, 4:29 AM
Andriman Farahany
Andriman Farahany - avatar
1 Answer
+ 3
Let's say you have a <div> tag, and the text, images you put in it doesn't fit in, that's where you use the overflow rule, whether you show it, hide it, or have a scrollbar in place so you can view the cropped content (part of the content that is out of the <div> body). Cmiiw, Hth,
30th Jul 2017, 7:42 AM
Ipang