CSS – responsive height for images within posts
-
Hello,
I’m wanting to maintain each image within a blog post within the frame of the screen through which it is being viewed. As in – so you can see the whole image at once without scrolling.
The easiest way I could think of doing that would be to have a CSS code that determines the height of the image, and adjusts it’s width according to the correct aspect ratio.
It would be great if this was responsive – as big an image as possible but keeping within the frame of each screen. But a fixed height CSS is probably also fine, as long as this translates to the mobile version.
I hope this question makes sense, and thanks in advance!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘CSS – responsive height for images within posts’ is closed to new replies.