Different ways to make responsive website design

Method 1: Setting The Viewport meta tag
To create a responsive website, add the following <meta> tag to all your web pages:
Example
<meta name="viewport" content="width=device-width, initial-scale=1.0">
This will set the viewport of your page, which will give the browser instructions on how to control the page's dimensions and scaling.
Method 2:Using media query

Post a Comment

0 Comments