JSPM

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

Modify CSS transform properties with one JavaScript call.

Package Exports

  • css-cross-transform

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-cross-transform) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

css-cross-transform Support this project

Modify CSS transform properties with one JavaScript call.

Installation

$ npm i --save css-cross-transform

Example

// Dependencies
var CSSCrossTransform = require("cross-transform");

// Rotate the elements
CSSCrossTransform(".some-class", "rotate(42deg)");

Documentation

CSSCrossTransform(elm, value)

Create css transform properties with cross-browser support.

Params

  • String|Element|NodeList elm: A stringified query selector, an element or a node list.
  • String value: The CSS transform value.

Return

  • NodeList|Array The selected elements.

How to contribute

Have an idea? Found a bug? See how to contribute.

Where is this library used?

If you are using this library in one of your projects, add it in this list. ✨

License

MIT © Ionică Bizău