The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › keep images together on one line
I have 4 small images that I want to stay together instead of wraping to a new line.
I want the images to just keep getting smaller to stay together.
How do I do this in CSS.
I already have the viewport set so images get smaller.
“
Currently I just have 4 img tags with nothing else. It works fine until I niew on a mobile phone.
We’d need to see some code…ideally a minimal demo in Codepen.io
Not sure how what I asked could be simplified.
You know how html has those <img> tags?
<img>
Assume there are 4 of them with any random image.
https://codepen.io/wolfcry911/pen/OZoQvw
Perfect thanks