Question: Why Responsive Web Design is the compulsary for websites?
- Recommended By Google: Google have higher Preference for Responsive design as compare to Non-Responsive.
- One Website, Many Devices: Single website can be viewable in desktop, laptop, ipad, different sizes of mobile.
- Good for SEO
- Responsive Website have more page views as compare to non-responsive.
- It looks always better in different resolution.
Question: How to check website is responsive OR Not?
https://www.google.com/webmasters/tools/mobile-friendly/
Question: How can i make a existing website responsive?
You can make any website responsive. Just follow the simple steps.
- Add Following code in head tag.
<meta name="viewport" content="width=device-width, initial-scale=1.0"> - Create a responsive.css file and include in all the pages.
-
Add Following code in responsive.css
/* Smaller Resolution Desktops and Laptops */ @media (max-width: 800px) { } /* Smaller devices like Ipad*/ @media (max-width: 650px) { } /* Even Smaller devices like Mobile*/ @media (max-width: 450px) { } /* Smallest Mobile devices */ @media only screen and (min-device-width: 300px) and (max-device-width: 480px) { }
- Now structure is ready, you just need to add css according to devices.
- Note: In Responsive design you need to hide extra information of websit