I’m new to Bootstrap and frankly my CSS isn’t fabulous, so apologies for the possible stupid question.
I’m trying to center an entire DIV of 8 columns on a page. (Responsive) How is that done?
| <-div -> |
I’ve seen align-text-centre but that works with the text in the actual div, it doesn’t centre the actual div.
I realise in std css I could use margin: auto but how does one do this in Bootstrap?
Thank you!
<div class="row">
<div class="col-md-8">
Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et
dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore
eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt
in culpa qui officia deserunt mollit anim id est laborum
</div>
</div>