big-cursors.css

1.0.1 • Public • Published

big-cursor

Big Cursors css and assets as a node packaged module.

latest version build status stability downloads

Install

# npm package
$ npm install big-cursors.css

The css is exported from the package.json main field and can be imported using a css bundler or copied out of node_modules as part of a larger build process.

Usage

@import 'big-cursors.css'; /* Importing enables the cursors */

PostCSS

You can use PostCSS to inline and import this css module using the following postcss.config.js:

module.exports = (ctx) => ({
  plugins: {
    'postcss-import': { root: ctx.file.dirname }, // Inline module css
    'postcss-url': { // Copy assets from node_modules
      url: 'copy',
      useHash: true,
      assetsPath: 'assets'
    }
  }
})
$ postcss styles.css -o dist/bundle.css

Credits

See also

Readme

Keywords

none

Package Sidebar

Install

npm i big-cursors.css

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

15.1 kB

Total Files

12

Last publish

Collaborators

  • bret