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 RĂ©ponse
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!