Less : The dynamic stylesheet language


La libreria less.js consente di introdurre nei normali css un comportamento dinamico consentendo di utilizzare variabili, funzioni ecc.


@color: green;
@size: 60;
#header {
  color: @color;
  font-size : @size;
h2 {
  color: @color;
  font-size : @size;

HTML example
    <link rel="stylesheet/less" type="text/css" href="style.less">
    <script src="less-1.3.0.min.js" type="text/javascript"></script>
    <h2>TEST LESS</h2>
    <div id="header">test css less</div>
<script type="text/javascript" charset="utf-8">
    less.env = "development";

posted @ lunedì 2 luglio 2012 15:28


Comments on this entry:

# re: Less : The dynamic stylesheet language

Left by Personal alarms at 18/07/2012 11:24
Thanks so much for your great page, this is the stuff that keeps me awake through out these day. I've been searching around for your site after being referred to them from a buddy and was thrilled when I was able to find it after searching for some time. Being a demanding blogger, I'm glad to see others taking initivative and contributing to the community. I would like to comment to show my appreciation for your post as it is very challenging to do, and many bloggers do not get appreciation they deserve. I am sure I'll drop by again and will send some of my friends.
reference: one piece dress
suck nipple
first communion dresses new york city

# re: Less : The dynamic stylesheet language

Left by mlkgraphite at 15/08/2012 08:05
one of the top difficulties that impact your organization is caffeine company's capability to keep costs down. If the Carbon graphite market recognizes a rise in costs, those costs will be approved down to you. Price improves may be seen in the delivery expenses, the cost of creating test amounts, or the overall service fee billed by the organization. It benefits you if the Flexible graphite maker you perform with has the capability to control their costs.
Comments have been closed on this topic.