List of frameworks for Sass, based in the extensions of Sassmeister
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * { | |
| font-size: 12pt; | |
| font-family: monospace; | |
| font-weight: normal; | |
| font-style: normal; | |
| text-decoration: none; | |
| color: black; | |
| cursor: default; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Chrome dev tools tip of the day: use console.profile() and a timeout to gather stats at particular points in your code. For example, a hamburger menu opening. | |
| onClick: function() { | |
| console.profile('Hamburger Open'); | |
| setTimeout(function() { | |
| console.profileEnd('Hamburger Open'); | |
| }, 1000); | |
| // Do some stuff | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| return luminance of hexColor | |
| Joan Leon | @nucliweb | |
| */ | |
| function getLuminance (hexColor) { | |
| var r, g, b, d ,h, minRGB, maxRGB, | |
| computedH = 0, | |
| computedS = 0, | |
| computedV = 0; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var aKeys = [], konami = "38,38,40,40,37,39,37,39,66,65"; | |
| $(document).keydown(function(e) { | |
| aKeys.push( e.keyCode ); | |
| if ( aKkeys.toString().indexOf( konami ) >= 0 ) { | |
| $(document).unbind('keydown',arguments.callee); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul class="list-bullet-icon"> | |
| <li class="lolo iconfont-A">a</li> | |
| <li>b</li> | |
| </ul> |
#Selectores CSS
Los 30 selectores CSS que debes memorizar ( Un artículo de tutsplus.com )
#1. *
* {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://qnimate.com/lazy-loading-images-and-its-seo-impact/ | |
| https://github.com/easy-designs/easy-lazy-images.js | |
| https://github.com/qnimate/Qazy | |
| http://www.appelsiini.net/projects/lazyload | |
| http://luis-almeida.github.io/unveil/ | |
| http://www.createjs.com/#!/PreloadJS | |
| http://imagesloaded.desandro.com/ |
git init <-- Create repo
git add . <-- Add change to
git commit -m "Message" <-- Commit to repo
git commit -m "Message" <files> <-- Commit to repo
git commit -am "Message" <-- Add files & Commit to repo
git commit -a --amend <-- Add change to Commit, option to change de description of Commit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function myFn(/* any number of arguments */) { | |
| var args = Array.prototype.slice.call(arguments); | |
| // or [].slice.call(arguments) | |
| args.forEach(function(arg) { | |
| // do something with args here | |
| }); | |
| } |