GRID BEETER OR FLEX ???

i want to do this like the other one but icant or dont know how to chane the postion of the image
5 Replies
VorteX
VorteXOP•17mo ago
and this is the code
VorteX
VorteXOP•17mo ago
i want anuone to rate it
Wolle
Wolle•17mo ago
General rule of thumb: if you want somethings to be exactly the same height/width use grid, if you want the browser to figure out the height/width, where it will wrap etc. use flex.
Kevin Powell
Kevin Powell•17mo ago
What Wolle said 😄 Plus, in your case, unless you don't mind changing the HTML, you'd have to use grid, since all three elements are in a single parent. with flex, you'd need to have the text in it's own div from there
VorteX
VorteXOP•17mo ago
tysm
Want results from more Discord servers?
Add your server