Bootstrap button text word wrap


Bootstrap button text word wrap– It is very simple to word wrap in bootstrap, we can use custom css to word wrap button text. Here in this tutorial, we are going to explain how we can add text word wrap.


Bootstrap button text word wrap Example

You can add the following CSS to make button text word wrap in bootstrap-

Bootstrap button text word wrap Example:

.btn{
white-space:normal !important;
word-wrap: break-word; 
max-width:150px;
}

Try it »

If you run the above example it will produce output something like this-

Bootstrap button text word wrap Example

Advertisements

Add Comment

📖 Read More