+ Reply to Thread
Results 1 to 2 of 2

Thread: using LESS @import

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    4

    using LESS @import

    I am using a command line program called lessc , and i am trying to compile @import rule , here is the code :
    Code:
    $ echo '@import "effect.less"' > test.less
    $ echo 'body { background: pink }' > effect.less
    $ lessc test.less
    But the output is an empty line , but why ?

  2. #2
    Junior Member
    Join Date
    Jan 2012
    Posts
    16
    You can try @import "effect"; only without .less
    For example :
    Code:
    @import "blueprint/screen";
    @import "blueprint/ie";
    
    a, a:link, a:visited, a:hover, a:active
    {
        text-decoration:none;
        color:#FF0000;
    }

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts