Bootstrap 5

Bootstrap Tutorials

Bootstrap 5 Text Truncation

Bootstrap 5 Text Truncation

 

 

Bootstrap 5 Text Truncation is used to truncate long strings of text with an ellipsis.

 

Creating Bootstrap 5 Text Truncation:-

 

For this purpose, we only have to add .text-truncate to the element. It required that the element should be inline or its parent element is block.

Code Explanation

All Tutorials related to Bootstrap Tutorials

All Sections related to Bootstrap 5