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