Explain how the 'text-truncate' utility in Bootstrap is used in web design.

  • Automatically truncates long text with ellipsis
  • Justifies text within the container
  • Applies uppercase styling to text
  • Wraps text to the next line if it exceeds the container width
The 'text-truncate' utility in Bootstrap is used to automatically truncate long text within a container and add an ellipsis (...) to indicate that the text has been cut off. This is particularly useful when dealing with limited space or fixed-size containers in web design.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *