tasks/remfallback.js
function createBaseSize(value) {
        if (/px/.test(value)) {
          return value.replace(/px/, '');
        }

        if (/em|rem/.test(value)) {
          return value.replace(/em|rem/, '') * 16;
        }

        if (/%/.test(value)) {
          return value.replace(/%/, '')/100 * 16;
        }
      }
function createBaseSize(value) {
        if (/px/.test(value)) {
          return value.replace(/px/, '');
        }

        if (/em|rem/.test(value)) {
          return value.replace(/em|rem/, '') * 16;
        }

        if (/%/.test(value)) {
          return value.replace(/%/, '')/100 * 16;
        }
      }
function createBaseSize ( value ) { if ( / px / . test ( value ) ) { return value . replace ( / px / , '' ) ; } if ( / em|rem / . test ( value ) ) { return value . replace ( / em|rem / , '' ) * 16 ; } if ( / % / . test ( value ) ) { return value . replace ( / % / , '' ) / 100 * 16 ; } }
create a base value from px,em,rem or percentage
create a base value from px em rem or percentage