The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Is there a way to replace and background spinner with an Icon?

  • # April 28, 2013 at 8:39 pm

    Hi all,

    Suppose I have the following css. Now lately we’ve shifted to using fonts for spinners. So now I want to do is to replace the background with a icon.

    .ui-autocomplete-loading {
    background: url(‘../images/loading-indicator.gif’) no-repeat;
    background-origin: content-box;
    background-position: right;

    This is what we do on the HTML side…

    Is there a way to replace the top `background` with the bottom icon spinner definition?

    Thanks so much!!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed