--- id: bad87fee1348bd8acde08812 title: Centralizar o texto com Bootstrap challengeType: 0 forumTopicId: 16771 dashedName: center-text-with-bootstrap --- # --description-- Agora que estamos usando Bootstrap, podemos centralizar nossos elementos de cabeçalho para deixá-los com melhor aparência. Tudo que precisamos fazer é adicionar a classe `text-center` ao nosso elemento `h2`. Lembre-se de que você pode adicionar várias classes ao mesmo elemento separando cada uma delas com um espaço, assim: ```html
Click here for cat photos.
Things cats love:
Top 3 things cats hate:
Click here for cat photos.
Things cats love:
Top 3 things cats hate: