+ 1

How to make a responsive web?

Actually, I don't know what a responsive web is.. 😂 But my problem is.. Suppose, I have written a code and I want to set a picture height / width 50% of the web page or 240 px but in laptop or larger screen it's small again 😡 same issue with text.. How can I fix this?

2nd Apr 2021, 1:47 PM
Mohammad Mehedi Hasan
Mohammad Mehedi Hasan - avatar
4 Answers
+ 3
RWD means Responsive Web Design, which is used to enable your web to fit its content in all devices, no matter how large or small the screen is. To set your image height and width relative to different screen devices, you can use vw and vh. VW means viewport-width and VH means viewport-height. You can learn more about these here: https://www.w3schools.com/css/css_rwd_intro.asp https://www.w3schools.com/css/css_rwd_viewport.asp Happy coding! 🙂
2nd Apr 2021, 2:11 PM
Genuine Stalwart
Genuine Stalwart - avatar
0
Thanks GS
2nd Apr 2021, 2:42 PM
Mohammad Mehedi Hasan
Mohammad Mehedi Hasan - avatar
0
GS is only view report learning enough?
2nd Apr 2021, 3:34 PM
Mohammad Mehedi Hasan
Mohammad Mehedi Hasan - avatar
0
Use w3. Css to make a web responsive
3rd Apr 2021, 5:46 PM
blocked