Skip to content

Instantly share code, notes, and snippets.

@benshimmin
Created March 4, 2012 15:27
Show Gist options
  • Save benshimmin/1973525 to your computer and use it in GitHub Desktop.
Save benshimmin/1973525 to your computer and use it in GitHub Desktop.
Cross-browser custom cursors with Sass
// USAGE:
// To use a custom cursor with a path of css/cursors/custom.cur you would do this:
// @include custom-cursor(css/cursors/,custom)
@mixin custom-cursor($baseURL, $filename)
cursor : url($filename + ".cur"),url($baseURL + "/" + $filename + ".cur"),default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment