Make image shrink as soon as screen gets smaller, before the side of the screen touches the image [migrated]


I’m trying to achieve something but i don’t know the right way to do this. Hopefully someone can help me in the right direction.

With responsive images the image will get smaller as soon as the screen is as big as the image and then the image will get smaller together with the screen (if I’m right). But i am trying to make an image get smaller as soon as the screen gets smaller.
This is the page and it’s about the red logo (NPO1).

The actual problem is that the images underneath the logo get smaller when the screen gets smaller but the logo stays the same size. I want the logo to stay in proportion with the images underneath it so i would like it to get smaller to. Any suggestions?

.carousellogo {
display: inline-block;
margin: 0px 0px 12px 30px;}

<div class="carousellogo"><img src="" alt="" width="75" height="" class="alignleft size-full wp-image-23274" /></div>

The original image is width=”149″ height=”100″ but i made it smaller to make sure the image stays sharp at retina screens. width=”75″ height=””.

I hope I was clear enough and thank you for taking the time to read my question. BTW i am just a beginner with css and html.

Have a nice day and stay safe.

, , , Amsterdam_020 3 years 2020-04-04T20:50:56-05:00 0 Answers 97 views 0

Leave an answer