Loading...
24 January 2014

Responsive Website Designing – Tools & Tricks to Make Websites Device Friendly

Responsive Website Designing – Tools & Tricks to Make Websites Device Friendly
images
By Sandeep Sharma

Responsive-Website-Designing-----Tools-&-Tricks-to-Make-Websites-Device-FriendlyWith exponential germination of newer devices, varied platforms and latest desktop and mobile-specific browsers, it has become indispensable for every business owner to ensure their websites render perfectly irrespective of the device being used by the audience. With mobile browsing gaining hype everywhere, it is imperative to mould the website structure in a way that it delivers all the important information, products and news easily and effectively.

Thus, clients tend to hire responsible website designers who are well versed with the newest tools and techniques that let websites adopt finger-friendly strategy, magnetize visitors and convert them subsequently. While conventional design approach requires one to create a separate web design per device, responsive designs ease the task by detecting screen resolutions smartly and adjusting their layouts accordingly, thereby, catering to the audience with Mobile-First approach. Imagine how soothing it is to see your web design layout adapting to the viewing environment (the browser) and responding to every screen resolution (the device) flawlessly. So, fasten your belts and dive into the following article to join us on a ride that gives Life To Your Designs.

Want One Website For Every Screen?? Adopt The Perfect Solution — RWD

Responsive website designing (RWD) is a technology that refers to crafting of websites in a manner that gives optimal viewing experience, hassle free readability and smooth navigational charm along with minimal resizing and scrolling on multitude of devices. Not just this, a responsive site lets you –

  1. Create and Manage a single site instead of Individual Sites for every device and browser
  2. Optimize only 1 site for SEO purposes. According to latest recommendations by Google, you must make your website responsive to top the search engine rankings.
  3. Do time-optimization and Build your site cost-effectively.

Get Familiar With The RWD Approach

RWD technology uses a mixture of following two approaches.

  1. Automatically resizing the page elements including images by defining relative units(%ages) rather than absolute units (fixed pixel widths).
  2. Using custom styling rules based on the characteristics of the targeted devices, browsers and specific resolutions.

Know The 3 Basic Ingredients Of RWD-:

  1. Fluid Grids – Fluid Grids resize the page elements in relative units (%ages) instead of the absolute ones (pixels) so as to prevent them displaying outside their containing element. In generic words, fluid designs let you customize your grid columns in sync with the screen width limits.
  2. Flexible Images – In this concept, fixed pixel widths are not defined for images as a consequence of which, they can move and scale in sync with the flexible grid. One can accomplish this by scaling down oversized images down to match the container width using the following CSS code:
    img { max-width: 100%; }
  3. CSS media queries – Media Queries is a tactic that lets you define different styles for different screen sizes based on browser windows, their orientation, screen resolution, and color. Let’s have a look at few lines of code shared below to understand better.@media only screen and (max-device-width: 480px) {
    /* define your device specific styles here */
    }

Learn The Popular RWD Tools –

1. Your First Weapon to Quick Project Development – BOOTSTRAP

Bootstrap is an open source module based front end framework which was introduced by Twitter in August 2011 and soon became the most popular GitHub Development Project in 2012. It’s latest version Bootstrap 3.0 supports responsive design and comes with the following basic modules and re-usable components that are a pre-requisite in every website design.

  1. Columns and Tables
  2. Forms and Buttons
  3. Dropdowns and Breadcrumbs
  4. Paginations, Thumbnails and Headers
  5. Carousels and Collapsible Menus

Not just this, the toolkit also comes bundled with some JQuery Plugins (Dojo Bootstrap), a few controls to support UI Bootstrap (Angular Js) and an exclusive stylesheet Less.css that lets you organize your style codes, cascade them and speed up your UI development even more.

2. Your Website is in WordPress?? Skeleton is the Solution !!

Skeleton is a framework based on a simple 960px grid system that comes bundled with a collection of stylesheets to help you build responsive websites quickly and rapidly. Not only this, it offers you an exclusive extension for WordPress called Skeleton Plus which is a WordPress theme that helps one to design simply beautiful mobile-friendly websites on the most popular content management system-Wordpress.

Major features of Skeleton-:

  1. It is one of the most lightweight and scalable frameworks available till now.
  2. It’s layout scales seamlessly from 960px to tablets , mobiles and other handheld devices.
  3. Strong topographical features

3. Test Your Website On “Screenfly” Tool Before Going Live

With so many devices and varied browsers in hype, it becomes difficult to test your design fitting pretty well on every screen size. For this, you probably need a testing tool to quickly get an idea as to how your website will deliver on major gadgets and multiple browser windows. Screenfly is a responsive emulator by ”QuirkTools” that helps you waive off all your worries by allowing you to test your design on a plethora of devices absolutely free of cost. Just visit their site http://quirktools.com/screenfly/, enter your web address and choose amongst 27 different devices including 2 Netbooks, 2 Notebooks, 5 different Desktops, 6 Tablets, 9 major Mobile Phones and 3 TV screen resolutions on both portrait and landscape mode. Not just this, there is an option to let you define your own custom screen size right at the top and apply it to check how your website renders on that particular resolution. Amazing, isn’t it??

Major CSS Tricks For RWD

The First Trick – Define your Breakpoints clearly

There are 6 major breakpoints that you should not forget to define if you want to have a responsive layout for your site. Accomplish all this using CSS Media Queries .

480Target the first generation smartphones in Portrait Mode with a CSS rule that corresponds to Resolutions less than 480 px
USE the CSS Code-:@media screen and (max-width:480px) and (orientation:portrait)

480Target the high-end smartphones and iPads in portrait mode with a Resolutions less than 768 px
USE the CSS Code-:@media screen and (max-width:768px) and (orientation:portrait)

480Target giant tablets and mid-sized laptops with separate style for Resolution greater than 768 px.
USE the CSS Code-@media screen and (min-width:768px) and (orientation:landscape)

480Target Low Resolution traditionally used Mobile phones with a style for Resolutions less than 320 px.
USE the CSS Code-:@media screen and (max-width:320px)

480TargetiPads and Big Tablets in landscape mode by defining style for Resolutions more than 768px but less than 1024 px
USE the CSS Code-:@media screen and (min-width:768px) and (max-width:1024px)

480Target widely designed desktops with a style for Resolution greater than 1024 px
USE the CSS Code-:@media screen and (min-width:1024px)

The Next Trick – Make your Layouts Flexible using Flexible Grids!!

You must use Flexible containers to make your layouts adapt quickly to every screen size. Flexible Grids use –

  1. Columns to Organize your content
  2. Relative widths to adapt to the viewport size

To accomplish this, we recommend using Grid based Frameworks that lets you use a separate style sheet to make the task quicker and easier.

Some of the best Grid Systems available for free include-

  1. 960 Grid System (960.gs)
  2. Golden Grid System(goldengridsystem.com)
  3. Columnal(columnal.com)
  4. 1140 CSS grid(cssgrid.net)

Just Wrap a specifically styled div with the layout div in case you want to have custom visual styles on your flexible container element that is defining the responsive layout.

The Most Important Trick – Let your visual media react!!

By this we mean, you should make your Graphic Media( images and videos) actually behave and respond to every screen size as well as browser window. As a conventional approach, many of us are still in a habit to set absolute widths and fixed heights for our images which makes them inflexible and thus deliver ugly on most of the devices. As an RWD process, inflexible images have to be converted to flexible to make them actually respond to changing device and browser environment. To simply adjust your width (Adaptive Sizing Technique), use the style attribute- img {width:100%}. Variable Breakpoints clubbed with media queries can also be used for alternate pictures if you don’t have any problem with the Bandwidth usage.

The Final Trick – Use Percentage Based Styling Smartly !!

The switching from pixel based layouts to percentage layouts is indeed the most critical aspect in RWD process. There are so many small and large design elements in a website that it becomes really challenging to bang over the head with nested %age layouts(%age inside %age) unless you are a calculation nerd and still ending up madly frustrated with everything cluttered across the screen. For this, we recommend you to

  1. Use %ages only for your Headers, footers, Sidebars and other big elements and
  2. Hardcode small design elements , paddings or margins (Values as small as 1-10px) using pixels only

Last , but not the least, we will strongly advise novices to gain sufficient knowledge on Responsive Web Designing Technology to have a pressure-less and hassle-free experience on all your forthcoming projects. Enjoy your site on all devices and drive your audience crazy keeping all the tools and tricks handy!!

Recent Article

You May Also Like

How to Promote a Travel Website?
images
By Manoj Tiwari
04 April 2016
Froogle – Google Product Search
images
By Amit Kothiyal
29 April 2008
The Best Google+ Tools for Business
images
By Amit Kothiyal
06 September 2012