Skip to content

Instantly share code, notes, and snippets.

View ivanmendoza's full-sized avatar

Iván ivanmendoza

View GitHub Profile
@ivanmendoza
ivanmendoza / fonts.less
Created February 12, 2012 04:34
Template to set fonts using mixins (Less CSS)
/*
*
* FONTS
* by @dic7 (github: ivanmendoza)
*
*/
#fonts{
.base(@size: 1em){
font:normal @size verdana, helvetica, arial, sans-serif;
}
@ivanmendoza
ivanmendoza / less-google-cdn.html
Created February 12, 2012 04:23
Load LessJS from Google CDN
<link rel="stylesheet/less" href="style.less" type="text/css" />
<script type="text/javascript">less = { env: 'development' };</script>
<script src="http://localhost/libs/less.js"></script>
@ivanmendoza
ivanmendoza / 0_reuse_code.js
Last active August 29, 2015 14:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console