spatio
Measure space!
Usage
// Measure 1em in pixels; // i.e. 13.328125 // Calcucate at will!; // i.e. 957.328125, defaults to pixels // Pass context element for relative spacevar el = document;elstylefontSize = '24px';documentbody; ; // 24
Additional units
// Line height; // Element width and height; // 1920; // 940 // Light seconds // 335.53125 // Add custom units // A meter beer is defined as 13 beers, so 1 beer is 100cm / 13spatio; // 7.694789081885856