Help with resposive resizeing in CSS

Hi I am completing a website design for the website front-end mentor and I was wondering if anyone here could help.

This is the link to the page:
(Frontend Mentor | Stats preview card component)

The issue I am having is that in the desktop version the image doesn’t responsively resize when I change the width of the window it also doesn’t keep to the 50% width that I set.(see image)

I would really appreciate some help as I have been stuck for ages!

Many thanks,
Clare

I would check out the CSS box-sizing property. I think perhaps the two divs in the container could benefit from border-box.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.