Joseph Morgan

19 Dec 2021

Text go out of the column in 'Bootstap'


When I copy the text in one line into the code and check the page I find out that the text is getting out of the column in bootstrap, is code is like 

<div class="row">
<div class="col-md-4 col-12"></div>
<div class="col-md-4 col-12">
<div class="col-md-4 col-12"></div>

How can I keep it on the page, I tried flex-wrap: wrap; but I still facing the same issue,

Thanks in advance


Mohamed Atef

19 Dec 2021

Best Answer

best answer

You can use word-break: break-word; it will break your text anyway and keep the column padding as you need 

word-break: break-word;

© 2024 Copyrights reserved for