0

I've been trying to center a div in bootstrap 4 with little luck. I could get the offset method to work, but it didn't work across screen sizes and the mx-auto didn't work either. I couldn't fine any usable help for this in the documentation.

Thanks.

ask
  • 25
  • 6
  • You could use the `justify-content-center` https://getbootstrap.com/docs/4.0/utilities/flex/#justify-content – Carlos Gonzalez May 15 '18 at 16:40
  • I can see how that could make sense. I'm creating a ul > li inside a col inside a row. Where should I apply the `justify-content-center` class? – ask May 15 '18 at 17:03

0 Answers0