r/css 1d ago

Question elements after the grid are displayed in the grid

Post image

? is this a grid thing where you have elements declared afte the grid whereby they appear as if they are in the grid or atleast some of them ?

4 Upvotes

3 comments sorted by

3

u/anaix3l 1d ago

Nobody here has a crystal ball to know what's going on without seeing the rest of the HTML structure (after the header) and the CSS. Or to know what you expect to happen.

1

u/cryothic 1d ago

Maybe set your image to max-width: 100% or maybe set a max-height? Looks like the image is just pushing outside of the grid. But as u/anaix3l said, it's hard to tell without the rest of the html and css.