Kritika's Blog

Kritika's Blog

Series

CSS


Articles in this series

2 Simple ways you can truncate text using CSS

Jun 15, 20212 min read 1.7K views

As part of this blog lets see two ways in which you can truncate a text using CSS 1) Truncate a single line text using ellipsis .truncate-ellipsis { width: 350px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: bloc...

2 Simple ways you can truncate text using CSS
How to display content in multiple columns using CSS
Drop CAP effect / Changing the style of the first letter in a paragraph using CSS.