need help with grid in responsive

codepen link : https://codepen.io/Vicky-clowdy/pen/jOjoQPY So the red circles will be replaced by images on my project but the problem is the images are displaying correctly in devtools responsive like that picture but when i use vs port forward and saw on mobile the first column is not displaying , it shows from 2nd column. i tried grid-auto-flow:row and still the first 2 elements not display properly
No description
5 Replies
vic
vicOP4mo ago
Here the mobile screenshot
No description
ἔρως
ἔρως4mo ago
you are repeating ids ids are supposed to be unique also, the grid is in the wrong element you have it on #food-order-div and not on #food-items
vic
vicOP4mo ago
I use map function to return that #food-items div , i made a mistake on codepen code The error im facing is actually there on codepen code too now It occurs on mobile responsive From codepen , the first 2 div #img1,#img2 which color is green and yellow is not displaying
Chris Bolson
Chris Bolson4mo ago
try removing justify-content: space-evenly;.
vic
vicOP4mo ago
Thank u sm man , i have been confused for last couple of hours for this
Want results from more Discord servers?
Add your server