jlong / css-spinners

Simple CSS spinners and throbbers made with CSS and minimal HTML markup.
http://www.css-spinners.com
MIT License
924 stars 157 forks source link

Using to extend... #3

Closed resistorsoftware closed 9 years ago

resistorsoftware commented 10 years ago

Hi. I want to replace the loading div in jqGrid with a nice spinner. If the usual class to override is [.ui-jqgrid .loading] I would like to do so with a spinner. Is there a syntax to use a spinner as a sass @extend or @mixin?

jlong commented 10 years ago

So at the moment I don't have anything for this. You can of course:

.my-spinner {
  @extend .spinner-name;
}

Which will color your output with one additional class name, but it will allow you to use whatever name you like.