HOT CSS

Free Beautiful Css templates, Web designer tricks from expert

Pages

▼
Thursday, March 6, 2014

Tutorial Loop Through Array Without Wasteful Lookups

›
Find the length of the array before using it in the for function, so it doesn't need to count the length of the array each iteration (a...

Tutorial Lighten / Darken Color

›
The CSS preprocessors Sass and LESS can take any color and darken() or lighten() it by a specific value. But no such ability is built into J...

Tutorial Lazy Loading Images

›
Use a blank.gif as the src of images, and include the width and height of the final image. <img src="blank.gif" class=...

Tutorial keyCodes

›
As in, what keyboard events report based on what keys are pressed. $("#textinput").keydown(function(e) { e.keyCode; // this ...

Tutorial JavaScript Required Content with Fallback Content

›
JavaScript-required area is hidden with inline CSS, and then shown after it loads with a small snippet of JavaScript. Below that, noscript t...

Tutorial JavaScript MD5

›
var MD5 = function (string) { function RotateLeft(lValue, iShiftBits) { return (lValue<<iShiftBits) | (lValue>...

Tutorial JavaScript Array Contains

›
Javascript objects are really nice, but sometimes they are missing some useful little functions/methods. The example above is with Arrays. ...
‹
›
Home
View web version
Powered by Blogger.