There is a few issues with your code, here is the markup I see on your page :
<div class="res">
<h3>
<img src="image.jpeg" style="width: 576.766px; height: 384.532px;">
</h3>
</div>
The image tag is embedded in a h3 tag, meaning that your css selector .res>img {}
won't work. You are here targeting the direct children img tags of the .res
div, not all the img tags included in that div. What you want to do is to use a selector like .res img {}
Secondly, you are using inline styles in your img tag which are preceding over your css, meaning that your css stylesheet will be ignored in that case.
To conclude, here are the steps to resolve your problems :
- Try to avoid embedding images in a h3 tag as it has no semantic
meaning in that case
- Fix your css selector to correctly target the
images
- Remove the inline styles
- Bonus : try not to base-64 encode
large PNG files for performance purposes, but that is another
story...