Html5 Responsive Design - Responsive Web Design With Twitter Bootstrap & Less

preview_player
Показать описание
Html5 Responsive Design - Responsive Web Design With Twitter Bootstrap & Less
Responsive Design Html - Responsive Design

Responsive web design is an approach for making websites that can accommodate different screen sizes and resolutions various kinds of devices, in order to provide optimal viewing experience for all users.This article shows a few of the many available techniques for building a responsive website.

Research your website's target audience. Although you could try to make your website respond to all devices in all conditions, this is probably a waste of time and

Enhance the mobile aspects first when making the website. Start with a design approach for mobile devices. To achieve this, use simple HTML and CSS with less of Javascript, since there are many mobile devices which don't support Javascript.
Add viewport meta tag using the code as shown:

Tutoriales HTML5: 3. Responsive Design
HTML5 and CSS3 Responsive design with media queries

Use progressive enhancement. Progressive enhancement uses web technologies in a layered fashion enabling everyone to access the basic content and functionality of a web page, using any browser or Internet connection, while also providing an enhanced version of the page to those with more advanced browser software or greater bandwidth. Now you have a basic website that will work fine for all devices.

Enhance the website's features.
Use frameworks: Javascript Frameworks: Modernizr, jQuery Mobile, Polyfills.
Use mobile validators or emulators for validating and checking your website design.

Check for cross browser compatibility. With so many browsers available, it is very important to make a website that loads evenly on all the browsers.
Use Modernizr and Polyfills for identical rendering on different web-browsers.
Modernizr is a feature detecting JS .We can add fallbacks for features unavailable.The image show code snippet for detecting canvas support .

Use Polyfills to add feature to the browser if it's not present. As IE versions below IE8 do not recognize new HTML5 elements, use HTML5SHIV.js which includes all the new elements.
Рекомендации по теме