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•2y ago
and this is the code
VorteX
VorteXOP•2y ago
i want anuone to rate it
Wolle
Wolle•2y 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•2y 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•2y ago
tysm
Want results from more Discord servers?
Add your server