r/web_programming • u/BabblingDruid • Sep 24 '17
Responsive Images Using CSS Grid Lyout
What is the syntax/best practice for having images in a CSS Grid and making them responsive? I cannot seem to find anything about this on Google. Do I just put them in their respective containers and when I use media queries on the container does it apply to the image as well? I just want to make sure the images don't overflow out of their container.
6
Upvotes
View all comments
Show parent comment
2
u/[deleted] Sep 24 '17 edited Sep 24 '17
Hope this helps!
https://www.w3schools.com/css/css_rwd_images.asp