On my new site, I have a flex section with two headers within. I’d like to put both these headers onto new lines.
1 Like
Did you try using full-width elements like h1 and div, or the display:block css rule?
1 Like
I tried to use the display: block rule but it did not work. The two header elements are h1 and h2
Oh. Do you have a repl link? I can help you once I get home.
I will tomorrow morning
You can use
flex-direction: column;
on your flex container.
2 Likes
Thanks for the help!
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.