mdn/css/1_css_building_blocks/10_overflowing_content

10_overflowing_content

dz / mdn / css / 1_css_building_blocks / 10_overflowing_content

Summary

Overflowing Content

Node Tree

Nodes

overflow
content overflow
children CSS_does_not_hide_content, overflow_prop, too_much_content_for_box

too_much_content_for_box
content Too much content to fit an in an element box
parents overflow

CSS_does_not_hide_content
content Whenever possible, CSS does not hide content
children avoids_data_loss
parents overflow

avoids_data_loss
content Avoids "data loss"
parents CSS_does_not_hide_content

overflow_prop
content Overflow Property
children default_visible, hidden_crop_overflow, overflow_auto, overflow_xy, scroll_add_scrollbars
parents overflow

default_visible
content Default: Visible
parents overflow_prop

hidden_crop_overflow
content hidden: crop overflowed content
parents overflow_prop

scroll_add_scrollbars
content scroll: adds scrollbars
parents overflow_prop

overflow_xy
content overflow-x, overflow-y
children long_word_small_box
parents overflow_prop

long_word_small_box
content For a long word in a small box, use word-break or overflow-wrap property instead
parents overflow_xy

overflow_auto
content Overflow: auto make scroll bars only appear when there is more content than can fit in the box
parents overflow_prop