CSS Sprites works awkward.. How can I fix it?

Community Forums Forums Design Tips and Tricks CSS Sprites works awkward.. How can I fix it?

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Gary Jones 9 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #67476

    Ozan
    Member

    Hi,

    I’m trying to add a banner after header using css sprites. In my another site; http://www.hamilekalmakicinyapilmasigerekenler.com in the sidebar it works without any problem, and the sprite images changes instantly. And generates a button when the mouse is over.

    But in another site that I’ve installed Genesis Framework and Dynamik childtheme, ( http://www.nasilhamilekalinir.com ) after adding images using sprites method, while changing images, it makes an odd movement up and down, instead of changing the position in the image instantly.

    Does anybody know why this is happening? Is it sth related with genesis’ “fancy dropdown” feature. Becuase it seems like sth is slowing the instant movement, or sth other is happening. Not sure about that.

    Any help would be greatly welcomed.

    #67481

    Gary Jones
    Moderator
    Post count: 686

    dynamik-min.css includes:

    [css]
    a,
    button,
    input:focus,
    input[type="button"],
    input[type="reset"],
    input[type="submit"],
    textarea:focus,
    .button {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    }
    [/css]

    Since the sprite works by moving the background position, its being animated over a fifth of a second, instead of being done instantly. I’m not sure if there’s a setting in Dynamik, or whether you’ll want an extra ruleset to override the transition properties for that particular anchor.


    Changes in Genesis 2.1 – the ultimate guide to every single change in Genesis Framework 2.1 and 2.1.1 (all 88 of them!) | @GaryJ

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.