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