HTML and CSS responsiveness issues using Flexbox
I have a simple HTML and CSS homepage, and I have a div container that uses Flexbox and contains links with pictures, but for some reason, the boxes shrink on the mobile version.
Note: I have multiple types of images (svg, png and jpeg) and multiple sizes (since some take less or more space, although they have different sizes, they fit the same visually).
CSS:
The first image shows the issue and the second shows the wanted outcome.
2 Replies
I am on mobile. I would add on ".link-image" "width 50%". I would also remove inline height and width IF they are not necessary.
SOLVED: https://stackoverflow.com/questions/26888751/chrome-device-mode-emulation-media-queries-not-working
Stack Overflow
Chrome Device Mode Emulation Media Queries Not Working
For some reason device emulation mode is not reading my media queries. It works on other sites including my own sites that I made with bootstrap, but it's not working on media queries I am using from