{"id":762,"date":"2017-04-05T04:49:52","date_gmt":"2017-04-05T04:49:52","guid":{"rendered":"http:\/\/webigg.com\/blog\/?p=762"},"modified":"2018-12-08T11:31:40","modified_gmt":"2018-12-08T11:31:40","slug":"responsive-web-design","status":"publish","type":"post","link":"https:\/\/www.webigg.com\/blog\/responsive-web-design\/","title":{"rendered":"Responsive Web Design"},"content":{"rendered":"<p>Responsive web design is a relatively new approach to website design that ensures users have a good viewing experience no matter what type of device they\u2019re using. It\u2019s become increasingly important over the last few years as mobile device ownership has exploded and traditional PC sales have slowed. And now that Google is prioritizing mobile-friendly sites in its search results algorithm, it\u2019s essential to make sure your site is optimized for mobile by using responsive design.<strong>\u00a0<\/strong><\/p>\n<p>Responsive design allows your website to adapt to the device your users are viewing it on. It provides you with the capability to write once publish everywhere, meaning less work for you.<\/p>\n<p>The reasons you should move across to responsive design continues to grow. It saves you time, it saves you money, and best of all enables your user to access your content the way they love.<\/p>\n<p>Responsive design can be achieved in three simple steps. A flexible grid-based layout, enable flexible media, and finally the addition of media queries. Let&#8217;s get started with some detailed instructions<\/p>\n<p><strong>Development Principles<\/strong><\/p>\n<p>Responsive web design consists of three development principles. To work properly, all three of these need to be implemented:<\/p>\n<ol>\n<li>Fluid grids<\/li>\n<li>Media queries<\/li>\n<li>Flexible images and media<\/li>\n<\/ol>\n<p><strong>Fluid Grids<\/strong><\/p>\n<p>A flexible grid-based layout is the cornerstone of responsive design. It uses relative sizing to fit the content to the device\u2019s screen size. The term \u201cgrid\u201d is a little misleading because it\u2019s not necessary to implement any of the available grid frameworks. Instead,\u00a0CSS\u00a0is used to position the content. This approach is based on percentages and is a departure from traditional pixel-based design principles. Responsive design moves away from the pixel-based approach because a pixel on one device could be eight pixels on another device. By basing text size, widths, and margins on percentages, a fixed size can be turned into a size relative to its display space.<\/p>\n<p><strong>Media Queries<\/strong><\/p>\n<p>Media queries, also known as breakpoints, can be used to apply different styles based on the capabilities of the device. The website detects the type of device you\u2019re using or the size of your web browser and correctly displays the page. To see this in action, stretch the window of your web browser to different sizes. Notice how the page adjusts. Features can be used to control the width, height, max-width, max-height, device-height, orientation, aspect ratio, etc.<strong>\u00a0<\/strong><\/p>\n<p><strong>Flexible Images and Media<\/strong><\/p>\n<p>This feature allows you to adapt images and other media to load differently, depending on the device, either by scaling or using the CSS overflow property.<\/p>\n<p>Scaling in CSS is relatively straightforward\u2014the media element\u2019s max width can be set at 100 percent, and the web browser will make the image shrink and expand depending on its container.<\/p>\n<p>An alternative to scaling media is to crop it with CSS. Applying overflow:hidden allows images to be cropped dynamically so that they fit into their containers.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Responsive web design is a relatively new approach to website design that ensures users have a good viewing experience no matter what type of device they\u2019re using. It\u2019s become increasingly important over the last few years as mobile device ownership has exploded and traditional PC sales have slowed. And now that Google is prioritizing mobile-friendly [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[30,21,28,27,20],"class_list":["post-762","post","type-post","status-publish","format-standard","hentry","category-internet-marketing-internet-marketing","tag-best-online-marketing-company-new-delhi","tag-online-marketing-companies","tag-online-marketing-companies-india","tag-search-engine-marketing-india","tag-social-media-marketing"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/posts\/762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/comments?post=762"}],"version-history":[{"count":2,"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/posts\/762\/revisions"}],"predecessor-version":[{"id":764,"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/posts\/762\/revisions\/764"}],"wp:attachment":[{"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/media?parent=762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/categories?post=762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webigg.com\/blog\/wp-json\/wp\/v2\/tags?post=762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}