0
How to center content or text in homepage or other section using bootstrap?
For responsive wise web development I don't think its a good idea to use padding and margin to center content😑. Using bootstrap I tried my-auto under row class to center vertically but failed😢(I used row class because i needed the col class for grid content). So I wonder is there have any solution to put content center in under row class.😺 -sorry for bad(may be)😅 English.
1 ответ
0
Use " row justify-content-center " class instead of " row " class.
It is use for align center vertically.
Now use this " col align-self-center " class for " col " class.
It's use for align content horizontally.
Hope this will help you.
Thanks!