Do I need to use absolute or relative positioning for the image ?Or how do I approach this layout?
6 Replies
#how-to-ask-good-questions
huh ? My question is crystal clear
Maybe try like this
<div position relative>
<img position absolute with z index of 2 >
<div bg Color black as z index -1 >
I'm not sure this one works
And make the parent div as justify content space around
none, you dont need to use any
just use grid
I would do it like this
grid
display: grid; grid-template-columns: 1fr auto