When a block-level element overflows at its left and right edges, overflow-x in CSS specifies whether a scroll bar should be added, the content should be clipped, or the overflow content should be displayed. The overflowing content on the page can be displayed horizontally using this property.