background img

The New Stuff

Responsive Design

Don't be lazy to adjust your layout for different devices a bit. Simple rules can help you a lot
  • use media queries
  • <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--[if lt IE 9]>
    <script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
    <![endif]-->
  • avoid complex libraries with heavy dom and js (jq mobile).. at lease for nearest year.. at least for Androids :)
  • in Debitoor: for tablets - don't set autofocus to inputs (to avoid half-screen keyboard), use native selects for touches etc (abu)
Info

Examples of x-device sites

http://themeforest.net/item/wp-flexishop-2-a-flexible-woocommerce-theme/full_screen_preview/2080989
http://themeforest.net/item/smartstart-wp-responsive-html5-theme/full_screen_preview/2067920

It's not a rocket science!

Given by Anton (ama)

0 коментарі:

Дописати коментар

Popular Posts