Spinning Profile Image

Go down

Spinning Profile Image

Post by silentbone on August 9th 2013, 10:10 pm

I've seen this in a few websites, but I can't find anything about how to do it on here. It does what the topic description describes, it just makes ones profile image spin if you hover over it. 

This is one of the sites that has it, all you have to do is run your mouse over it and it spins.  


This's my sites URL, it's a phpBB3


- Bone
New Member

Female Posts : 4
Reputation : 1
Language : English
Location : TARDIS


Back to top Go down

Re: Spinning Profile Image

Post by Ange Tuteur on August 10th 2013, 1:10 am

Judging by their forum it looks like they have access to templates. By placing a hook on the user avatar variable in the viewtopic_body you can modify it through your stylesheet.

If you were to do that you would use the pseudo class ':hover' for your selector, the property 'transform' and the property value rotate(VALUEHEREdeg); the overall setup should look like this:

  transition: all 0.5s;
  transform: rotate(360deg);
You will also need to use the transition property to adjust the time it takes to complete the task. Unfortunately I do not believe this will be possible on phpbb3 from what I know, unless of course you're looking to add that effect to nearly all images on your forum.
Ange Tuteur

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA


Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum