+ 3
How do you make a web page responsive
HTML
4 Respostas
+ 3
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
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 ☺️
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.
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
}