Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (3 sloc) 366 Bytes

Center Text with Bootstrap

Now that we're using Bootstrap, we can center our heading elements to make them look better. All we need to do is add the class text-center to our h1 and h2 elements.

Remember that you can add several classes to the same element by separating each of them with a space, like this: <h2 class="text-red text-center">your text</h2>.

Something went wrong with that request. Please try again.