Information Technology Reference
In-Depth Information
Less Framework 4
The Less Framework ( http://lessframework.com/ , Figure 8-7) is another one of those
CSS grid systems making the rounds. Containing three different typography presets and
four different types of layouts, Less Framework is a little more robust then some of the
competition out there. Unlike the 1140px Grid framework, this framework is built with the
idea of tablets and smartphones in mind. If you are building an application or page that
only has to display on phones or tablets, Less Framework 4 is a better choice than
1140px Grid. While this framework is developed with iPad and iPhone users in mind, it
still works really well on Android Webkit based browsers.
The Less Framework, however, is not a do-everything-for-you framework like some of
the other options out there. To get the best use out of this framework, it is
recommended that you have a comfortable relationship with both HTML and CSS. The
three of you don't have to be best friends and invite each other over for Christmas
dinner, but it wouldn't hurt to make small talk at the water cooler and see how the kids
are doing every once in a while.
For an example of what we mean: Consider that Less Framework 4 has two mobile
layouts: a normal and a wide. The wide layout is intended for mobile phones in
landscape orientation. Given that your user might switch their phone's orientation at
various times for various reasons, you might want to take steps in your JavaScript or
HTML to re-render or re-organize material based on orientation. An app that looks good
in wide may look horrible in normal—something you should determine, test, and debug.
 
Search WWH ::




Custom Search