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
and this is the code
i want anuone to rate it
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.
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
tysm