first round of dev

This commit is contained in:
Bachir Soussi Chiadmi
2015-11-04 18:23:07 +01:00
parent f2f2bf50bd
commit 2abb12981c
436 changed files with 75036 additions and 48 deletions
@@ -0,0 +1,12 @@
// Method of allowing calculated values for length units, i.e. width: calc(100%-3em) http://caniuse.com/#search=calc
// By @calvein
Modernizr.addTest('csscalc', function() {
var prop = 'width:';
var value = 'calc(10px);';
var el = document.createElement('div');
el.style.cssText = prop + Modernizr._prefixes.join(value + prop);
return !!el.style.length;
});