How do you make a web page responsive | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How do you make a web page responsive

HTML

2nd Jan 2021, 1:44 PM
Scholar Asare
Scholar Asare - avatar
4 Answers
+ 3
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
3rd Jan 2021, 6:31 PM
Nassera
Nassera - avatar
0
If you didn't apply any style to your webpage than your webpage is completely responsive so try to style your webpage least And css media queries used for making webpage responsive Here a reference https://www.w3schools.com/css/css_rwd_mediaqueries.asp Happy coding ☺️
2nd Jan 2021, 2:03 PM
Stuvan
Stuvan - avatar
0
You can use media queries to designate different style for device above or below a certain size. You can also use vw, vh, vmin, and vmax to adjust the width and height according to the dimensions of the viewport.
2nd Jan 2021, 4:00 PM
Ri He
Ri He - avatar
0
Use media query First use the viewport tag in the head tag <meta name="viewport" content="width=device-width, initial scale="1.0"/> In your css use @media only screen and (min-width:762px){ Styles go here }
4th Jan 2021, 1:08 PM
Fabiyi Damilare Precious
Fabiyi Damilare Precious - avatar