0
Responsive image in CSS
How can I make an image responsive to different screen size with CSS?, please.
8 ответов
+ 1
OK thanks I will try it
+ 1
Thank you all for your response, I really appreciate your support but please none of the techniques work
+ 1
I didn't because when I write the code given to me, the image display it originally size rather than the one stated in the CSS CODE
0
OK thank you but I tried this too, but very unfortunate the image some times didn't fit the screen width
0
img {
width: 100vw;
}
0
Muhammad Tijjani Umar did you find out the right solution for you code, what is it?
0
You cannot show your attempt? This is necesary for getting help.
0
Finally, I was able to solve the problem by using 'width:100% and height to a number I want, it gives me what I want thank you all.