BFE
.dev
EN
Practice
Explore
EN
CSS Questions
2. truncate text in one line(with ellipsis)
Discuss
To truncate text, we can use the text-overflow property in combination with the white-space and overflow properties.