├── .babelrc ├── .esformatter ├── .eslintrc ├── .gitignore ├── modules ├── functions │ ├── hsl.js │ ├── hsla.js │ ├── matrix.js │ ├── matrix3d.js │ ├── perspective.js │ ├── rgb.js │ ├── rgba.js │ ├── rotate.js │ ├── rotate3d.js │ ├── rotateX.js │ ├── rotateY.js │ ├── rotateZ.js │ ├── scale.js │ ├── scale3d.js │ ├── scaleX.js │ ├── scaleY.js │ ├── scaleZ.js │ ├── skew.js │ ├── skewX.js │ ├── skewY.js │ ├── translate.js │ ├── translate3d.js │ ├── translateX.js │ ├── translateY.js │ └── translateZ.js ├── index.js ├── multiple.js └── utils │ ├── applyUnitToNumber.js │ ├── applyUnitToNumbers.js │ └── isObject.js ├── package.json ├── readme.md └── test ├── _setup ├── mocha.opts └── test-setup.js ├── multiple-test.js └── utils ├── applyUnitToNumber-test.js └── applyUnitToNumbers-test.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/.babelrc -------------------------------------------------------------------------------- /.esformatter: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/.esformatter -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/.gitignore -------------------------------------------------------------------------------- /modules/functions/hsl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/hsl.js -------------------------------------------------------------------------------- /modules/functions/hsla.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/hsla.js -------------------------------------------------------------------------------- /modules/functions/matrix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/matrix.js -------------------------------------------------------------------------------- /modules/functions/matrix3d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/matrix3d.js -------------------------------------------------------------------------------- /modules/functions/perspective.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/perspective.js -------------------------------------------------------------------------------- /modules/functions/rgb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/rgb.js -------------------------------------------------------------------------------- /modules/functions/rgba.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/rgba.js -------------------------------------------------------------------------------- /modules/functions/rotate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/rotate.js -------------------------------------------------------------------------------- /modules/functions/rotate3d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/rotate3d.js -------------------------------------------------------------------------------- /modules/functions/rotateX.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/rotateX.js -------------------------------------------------------------------------------- /modules/functions/rotateY.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/rotateY.js -------------------------------------------------------------------------------- /modules/functions/rotateZ.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/rotateZ.js -------------------------------------------------------------------------------- /modules/functions/scale.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/scale.js -------------------------------------------------------------------------------- /modules/functions/scale3d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/scale3d.js -------------------------------------------------------------------------------- /modules/functions/scaleX.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/scaleX.js -------------------------------------------------------------------------------- /modules/functions/scaleY.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/scaleY.js -------------------------------------------------------------------------------- /modules/functions/scaleZ.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/scaleZ.js -------------------------------------------------------------------------------- /modules/functions/skew.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/skew.js -------------------------------------------------------------------------------- /modules/functions/skewX.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/skewX.js -------------------------------------------------------------------------------- /modules/functions/skewY.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/skewY.js -------------------------------------------------------------------------------- /modules/functions/translate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/translate.js -------------------------------------------------------------------------------- /modules/functions/translate3d.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/translate3d.js -------------------------------------------------------------------------------- /modules/functions/translateX.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/translateX.js -------------------------------------------------------------------------------- /modules/functions/translateY.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/translateY.js -------------------------------------------------------------------------------- /modules/functions/translateZ.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/functions/translateZ.js -------------------------------------------------------------------------------- /modules/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/index.js -------------------------------------------------------------------------------- /modules/multiple.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/multiple.js -------------------------------------------------------------------------------- /modules/utils/applyUnitToNumber.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/utils/applyUnitToNumber.js -------------------------------------------------------------------------------- /modules/utils/applyUnitToNumbers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/utils/applyUnitToNumbers.js -------------------------------------------------------------------------------- /modules/utils/isObject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/modules/utils/isObject.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/readme.md -------------------------------------------------------------------------------- /test/_setup/mocha.opts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/test/_setup/mocha.opts -------------------------------------------------------------------------------- /test/_setup/test-setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/test/_setup/test-setup.js -------------------------------------------------------------------------------- /test/multiple-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/test/multiple-test.js -------------------------------------------------------------------------------- /test/utils/applyUnitToNumber-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/test/utils/applyUnitToNumber-test.js -------------------------------------------------------------------------------- /test/utils/applyUnitToNumbers-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cssinjs/css-functions/HEAD/test/utils/applyUnitToNumbers-test.js --------------------------------------------------------------------------------