SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict revlimiter's Avatar
    Join Date
    Sep 2005
    Location
    British Columbia, Canada
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Modernizr + LESS (Server-Side)

    Hi everyone,
    I am using Modernizr for my projects and now I am starting to use LESS. I would like to know if JavaScript is needed (client side) for both Modernizr and LESS to work?

    If server-side is possible for both of these, what is easiest way of setting these up server side and so that it's the lightest load on the server too?

    Thanks,
    "To make an apple pie from scratch,
    you must first create the universe.
    -Carl Sagan

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,211
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by revlimiter View Post
    I would like to know if JavaScript is needed (client side) for both Modernizr and LESS to work?
    I'm not greatly familiar with either of these (I follow the 40 foot pole rule in this regard), but it does appear that they both need them. It's a bit shocking to me, but if you turn off JS and go to the LESS website, no styles load at all.

    If server-side is possible for both of these, what is easiest way of setting these up server side and so that it's the lightest load on the server too?
    Probably best to read the respective websites for info on that. LESS can be set up with server-side JS using Node.js. (Sounds a hell of a lot easier just to use real CSS, if you ask me. )


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
  •