--- id: bad87fee1348bd8acde08812 title: Centrar texto con Bootstrap challengeType: 0 forumTopicId: 16771 dashedName: center-text-with-bootstrap --- # --description-- Ahora que estamos usando Bootstrap, podemos centrar el encabezado para que luzca mejor. Todo lo que necesitamos hacer es añadir la clase `text-center` a nuestro elemento `h2`. Recuerda que puedes añadir varias clases al mismo elemento separando cada una de ellas con un espacio: ```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: