LESS CSS For .NET

.less (pronounced dot-less) is a .NET port of the ruby LESS library. It allows you to write regular CSS with your .NET apps, then add a few variables, mixins and nested rules. In order to use dot-less you need .NET 3.5 or above.

Using dot-less in your project is a breeze; all you need to do is include reference to it in your project and add few entries in your web.config file. To get started simply reference your LESS files the same way as you would any other CSS file, just ensure that you use the .LESS extension.

Features

  • Supports Variables, Mixins, Nested Rules and Operators
  • Provides useful Functions which are called using the normal CSS function syntax
  • Supports Namespaces enabling you to group variables or mixins, for organizational purposes, or just to offer some encapsulation
  • Supports Scope – similar to that of programming languages
  • Both block and inline comments are authorized
  • Provides command line tool to compile .less file into .css
  • Also comes with an option to watch your .less files for any change, and recompile it automatically

Ported by Christopher Owen, Erik van Brakel, Daniel Hoelbling  and James Foster; .LESS is available for download under Apache License.  You can find further information, documentation & download on .LESS CSS Website.

Stay Updated

If you found this post useful, consider subscribing to our RSS Feed! You can also stay updated by following us on Twitter and Facebook or by subscribing to our FriendFeed.

Bookmark / Share

Bookmark and Share

Read More

SIMILAR/RELATED POSTS:

PREVIOUS POST:

NEXT POST:

Reader Comments

One Response to “LESS CSS For .NET”
  1. Or you can use the less.js version. I’m not saying you should or shouldn’t, but it is an option. I wrote a little about it at: Taking LESS.js for a spin, and how does it compare to Sass 3

Leave Comment

 
 

Stay Updated, Subscribe to RSS Feed

 
 
 
 

Blogroll

 

Sponsored Links