Jump to content

Search the Community

Showing results for tags 'less'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 3 results

  1. Hi, I am new using Less, and I am wondering what the proper way to transform this css classes into less classes in order to reuse them. .body-404 #content-wrapper, .page-404 { background: transparent !important; } .page-404 .error-code { color: #f4b04f; } .body-500 #content-wrapper, .page-500 { background: transparent !important; } .page-500 .error-code { color: #e66454; } 2 Questions : 1/ Let's say one day I'll have a 403-error. Should it be one function that generate the class: .mynewerror(403) 2/ And if yes or not, how it should be ?And same with this example: .left-buffer-5 { margin-left: 5px; } .left-buffer-10 { margin-left: 10px; } .top-buffer-5 { margin-top: 5px; } .top-buffer-10 { margin-top: 10px; } .right-buffer-5 { margin-right: 5px; } .right-buffer-10 { margin-right: 10px; } I understand the mere principles of Less, but I have trouble to organize it and apply the DRY rule. Thanks, Stéphane.
  2. Hello: Is W3.CSS written in any preprocessor like LESS or SASS ? If yes, is possible to have the source code? Thank you.
  3. HTML files contains: <!doctype html><html><head><link rel="stylesheet/css" type="text/css" href="style.less"><script type="text/javascript" src="less.js"></script></head> <body><h1> This is a header. </h1><p>Now this is paragraph.</p></body></html> And my LESS file contains this: h1 {font-size: 12px; /* Just trying to check */font-weight: bold;} I know so I have less file before the less.js. But I am not able to see any change in header.
×
×
  • Create New...