Results 1 to 3 of 3

Thread: can I use less and modernizr together ?

Hybrid View

  1. #1
    Join Date
    Feb 2011

    can I use less and modernizr together ?

    if I have the following code:
    	<link rel="stylesheet" href="css/style.css">
    	<link rel="stylesheet/less" type="text/css" href="styles.less">
    	<script src="js/less.js" type="text/javascript"></script>
    	<script src="js/libs/modernizr-2.5.3.min.js"></script>	
    will there be problem or both modernizr and less library can work at the same time?

  2. #2
    Join Date
    Apr 2012
    What are you talking about? If there's a problem by using both .js? No, as you keep the code clean and distinct.

  3. #3
    Join Date
    Aug 2010
    San Diego
    Well they're both massaging class and id attributes so there could conceivably be a conflict. But a version of HTML5 Boilerplate includes both (see here) so probably not a problem.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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

Recent Articles