Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS how to rotate background image?

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #246659
    Funkaholik
    Participant

    How to rotate back-img without rotating an <h>?
    sample

    found this article but it’s working only with position: absolute((

    how to combine both of them?

    #246662
    Paulie_D
    Member

    There is no such element as h and it’s not advised to create custom elements unless you know what you are doing.

    As for rotating a background image…you can’t.

    #246663
    Funkaholik
    Participant

    See .. let’s say i have an icon with white background and transparent font
    and i want to put a rotating background image .. can i do that somehow?
    without having rotating an icon?

    #246664
    Paulie_D
    Member

    You can’t have a white background AND a background image…it’s not logical. It would have to have one or the other.

    #246665
    Funkaholik
    Participant

    but font itself will be transparent just like here he’s having images changing one after another
    but i want image to rotate)

    #246668
    Paulie_D
    Member

    That’s an entirely different thing using clipped text.

    It only works in Chrome and, as I said, you can’t rotate a background image.

    You might be able to combine some of the techniques you’re linking…I’d suggest you give it a try. All the code seems to be there for you to experiment with.

    I’d suggest you try it out and if you can’t get it to work, come back. with your code and we can take a look.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.