+ 2

How to make images as wide as screen(web)â˜ș

In my websites I placed many images and I set it's width and height according to width of my device 350px but when I tilt the device to landscape it doesn't seems to match to my new screen width why please tell me how to do it.😭😖😅😅😅😅😂look at it if you're using a laptop to view this site you'll know the problem images are not big 👇 https://code.sololearn.com/WY3h0dSXISDh/?ref=app

10th Apr 2020, 4:55 PM
Atoms~⚛
Atoms~⚛ - avatar
3 RĂ©ponses
+ 2
Hay bro just replace 350px with 100% it will work fine . Try it
10th Apr 2020, 5:21 PM
Ayush Kumar
Ayush Kumar - avatar
0
Atomic Wave ~⚛ add all of your image a specific class (ex:rp-img). Then add these css rules .rp-img{ Width:100%; height:auto; }
10th Apr 2020, 5:24 PM
Thống Nguyễn
Thống Nguyễn - avatar