WordPress.org

Ready to get started?Download WordPress

Forums

An exmple of a correct css sprite set up (3 posts)

  1. charlietech
    Member
    Posted 1 year ago #

    Trying to combine images using http://csssprites.com/ i came up with this to put in my css.

    .parent-element {
    background:url(result.png);
    }

    background-position: 0px 0px;
    background-position: 0px -34px;
    background-position: 0px -172px;
    background-position: 0px -230px;
    background-position: 0px -264px;

    Its not working, what am i missing for this to work?

  2. Pothi
    Member
    Posted 1 year ago #

    If you are looking for an example of a correct CSS sprite, then you can look at my site's social media buttons.

    There is no way, one could tell, what you are missing, from the description of your issue.

  3. charlietech
    Member
    Posted 1 year ago #

    I was just hoping of an example of the css sprite on this post, you said look at your page but i know even know where im looking to find your css sprite. Im not that smart with this stuff as you can see.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.