Hey guys! So I’m trying to create a webpage where I want two sections to be adjacent to each other, but I can’t figure out what I’m doing wrong, any help would be appreciated! Thank you
Need help with layout
Need help with layout
0
Brian984
#2
Hey, not sure if this is what your going for, but try wrapping your two divs (.imgone and .imgtw) in another div. Give it a class name, set height property to “100%” and display property to “flex”.
stefalber
#4
There are so much way to do this. Using grid
or flex
or float
. Grid is just overkilling the problem, so float seems the good way to do it.
It’s simple to understand, https://css-tricks.com/snippets/css/a-guide-to-flexbox/ here what you need to know to do this.