text dots html code example Example: overflow dottet .cut-text { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }