Javatpoint Logo
Javatpoint Logo

Less Syntax

Less is the most popular CSS preprocessor that extends plain CSS with programming traits like Variables, Functions or Mixin, and Operation which facilitates you to build modular, scalable, and more manageable CSS styles.

Less syntax is non-standard as per W3C specification. Property declaration in Less is very similar to CSS but it must be placed on its own line and indented. Let's see an example of Less code:

Less code:

This Less code is processed by compiler and a browser compliant CSS format is generated.

CSS code:

Next TopicLess Variables

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA