Controlling Text Overflow in CSS


Use the text-overflow property to handle how overflowed content is displayed in a block container.

Source Code

.overflow {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments