CSS text effects help you manage how text behaves when it exceeds the boundaries of its container or when it needs to be oriented in a specific way.
text-overflow PropertySpecifies how overflowed content that is not displayed is signaled to users. It can be clipped, or it can display an ellipsis (...).
.box {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
word-wrap PropertyAllows long words to be able to be broken and wrap onto the next line.
.box {
word-wrap: break-word;
}
writing-mode PropertySpecifies whether lines of text are laid out horizontally or vertically.
.vertical {
writing-mode: vertical-rl;
}
text-overflow: ellipsis on navbars or card titles to keep the layout consistent even if the content varies in length.