- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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?
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.
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?
You can’t have a white background AND a background image…it’s not logical. It would have to have one or the other.
but font itself will be transparent just like here he’s having images changing one after another
but i want image to rotate)
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.