Skip to Content
Hands-On UX Design for Developers
book

Hands-On UX Design for Developers

by Elvis Canziba
July 2018
Beginner
350 pages
8h 34m
English
Packt Publishing
Content preview from Hands-On UX Design for Developers

Less

Less was introduced 3 years later than Sass, in 2009, and similar to Sass, Less was also built in the Ruby programming language.

If we compare these two CSS preprocessors, they have almost the same features, but Less's idea was to create as much similar syntax with as much pure CSS as it could. They actually achieved it, and what is more interesting is that you can even write pure CSS on Less, and everything will work fine since Less accepts any pure CSS code as valid.

You can see the similarity between pure CSS and Less in the following example:

@dark-color: #4a4a4a;@light-color: #f9f9f9;@side-color: #eee;body { color: @dark-color;}header, footer { background-color: @dark-color; color: @light-color;}main { background: @light-color ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Joy of UX: User Experience and Interactive Design for Developers

The Joy of UX: User Experience and Interactive Design for Developers

David Platt
User Experience Design

User Experience Design

Satyam Kantamneni
UX Design for Mobile

UX Design for Mobile

Pau Giner, Pablo Perea

Publisher Resources

ISBN: 9781788626699Other