Skip to content

Instantly share code, notes, and snippets.

View eduardomart's full-sized avatar

Eduardo Martinez eduardomart

View GitHub Profile
@eduardomart
eduardomart / .htaccess
Created January 9, 2014 07:36 — forked from lavoiesl/.htaccess
Integrate LESSPHP
# LESS compiler
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} ^(.*)\.css
RewriteCond %1.less -f
RewriteRule ^(.*)\.css lessphp/less.php?f=$1.less
.background-layers(@top, @bottom) {
background: url(@top), url(@bottom);
background-position: top center, top center;
background-attachment: fixed, fixed;
background-repeat: repeat, repeat;
-webkit-background-size: auto, cover;
-moz-background-size: auto, cover;
-o-background-size: auto, cover;
background-size: auto, cover;
}