JSPM

css-in-js-easing

1.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 511
  • Score
    100M100P100Q100435F
  • License MIT

This library retrieves easing-function for CSS property.

Package Exports

  • css-in-js-easing
  • css-in-js-easing/dist/index.cjs.js
  • css-in-js-easing/dist/index.esm.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (css-in-js-easing) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

css-in-js-easing

This library retrieves easing-function for CSS property. It is primarily intended for use with CSS-in-JS.

install

npm i -D css-in-js-easing

usage

import { easeInOutBack } from 'css-in-js-easing';
const sample = styled.div`
 transition-timing-function: ${easeInOutBack};
`

easing-function list

The following easing-function can export.

  • linear
  • ease
  • easeIn
  • easeOut
  • easeInOut
  • easeInQuad
  • easeInCubic
  • easeInQuart
  • easeInQuint
  • easeInSine
  • easeInExpo
  • easeInCirc
  • easeInBack
  • easeOutQuad
  • easeOutCubic
  • easeOutQuart
  • easeOutQuint
  • easeOutSine
  • easeOutExpo
  • easeOutCirc
  • easeOutBack
  • easeInOutQuad
  • easeInOutCubic
  • easeInOutQuart
  • easeInOutQuint
  • easeInOutSine
  • easeInOutExpo
  • easeInOutCirc
  • easeInOutBack