I have a <h2>
tag that is wrapping when the window gets smaller. I want the text to be in the center but it's currently wrapping and ends up as a paragraph on the left side. I am using flexbox align-items: center
so it should be centered or am I missing something?
Asked
Active
Viewed 128 times
0
-
1`align-items` center the element, not its content, and the dupe explains/shows that with a border, to better _see_ what goes on. – Asons Feb 06 '18 at 15:03
-
1Thank you! That other answer fixed it :) – Naomi Feb 06 '18 at 15:06