Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-fallback-cursors

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-fallback-cursors

PostCSS plugin to set fallback cursors for grab, grabbing, etc.

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Fallback cursors plugin that plays nicely with Webpack LESS-loader and Autoprefixer.

Usage

const FallbackCursors = require('postcss-fallback-cursors');
FallbackCursors({
	'grabbing': 'url("path/to/grabbing.cur"), move'
});

/* add to PostCSS plugins */

so

.grabbing {
	cursor: grabbing;
}

becomes:

.grabbing {
	cursor: url("path/to/grabbing.cur"), move;
	cursor: grabbing;
}

or maybe if you're using Autoprefixer:

.grabbing {
	cursor: url("path/to/grabbing.cur"), move;
	cursor: -webkit-grabbing;
	cursor: grabbing;
}

API status

This module was created for the needs I have at the moment, and it doesn't account for edge cases.

So, this module API is not stable. It will wery likely be changed in the future.

I'm open for the suggestions and PRs even if those changes are breaking as hell.

Keywords

FAQs

Package last updated on 16 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc