- Language Features
- Less - Nested Rules
- Less - Nested Directives and Bubbling
- Less - Operations
- Less - Escaping
- Less - Functions
- Less - Namespaces and Accessors
- Less - Scope
- Less - Comments
- Less - Importing
- Less - Variables
- Less - Extend
- Less - Mixins
- Less - Parametric Mixins
- Less - Mixins as Functions
- Less - Passing Rulesets to Mixins
- Less - Import Directives
- Less - Import Options
- Less - Mixin Guards
- Less - CSS Guards
- Less - Loops
- Less - Merge
- Less - Parent Selectors
- Less - Misc Functions
- Less - String Functions
- Less - List Functions
- Less - Math Functions
- Less - Type Functions
- Less - Color Defination Functions
- Less - Color Channel Functions
- Less - Color Operation
- Less - Color Blending Functions
- Less - Command Line Usage
- Using Less In The Browser
- Less - Browser support
- Less - Plugins
- Less - Programmatic Usage
- Less - Online Compilers
- Less - GUIs
- Less - Editors and Plugins
- Less - Third Party Compilers
- Less - Frameworks
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
LESS - Overview
LESS is a CSS pre-processor that enables customizable, manageable and reusable style sheet for website. LESS is a dynamic style sheet language that extends the capability of CSS. LESS is also cross browser friendly.
CSS Preprocessor is a scripting language that extends CSS and gets compiled into regular CSS syntax, so that it can be read by your web browser. It provides functionalities like variables, functions, mixins and operations that allow you to build dynamic CSS.
Let us now understand why do we use LESS.
LESS supports creating cleaner, cross-browser friendly CSS faster and easier.
LESS keeps your code in modular way which is really important by making it readable and easily changeable.
Faster maintenance can be achieved by the use of LESS variables.
Cleaner and more readable code can be written in an organized way.
We can define styles and it can be reused throughout the code.
LESS is an agile tool that sorts out the problem of code redundancy.
LESS easily generates CSS that works across the browsers.
LESS enables you to write better and well-organized code by using nesting.
Maintenance can be achieved faster by the use of variables.
LESS enables you to reuse the whole classes easily by referencing them in your rule sets.
LESS provides the use of operations that makes coding faster and saves time.
It takes time to learn if you are new to CSS preprocessing.
Due to the tight coupling between the modules, more efforts should be taken to reuse and/or test dependent modules.
LESS has less framework compared to older preprocessor like SASS, which consists of frameworks Compass, Gravity and Susy.