just another animation i was playing with

@-webkit-keyframes tabdance {
0%, 100% {
-webkit-transform: rotate(0) skewx(0);
}
17% {
-webkit-transform: rotate(4deg) skewx(4deg);
}

92% {
-webkit-transform: rotate(-4deg) skewx(-4deg);
}
}
@-moz-keyframes tabdance {
0%, 100% {
-moz-transform: rotate(0) skewx(0);
}
17% {
-moz-transform: rotate(4deg) skewx(4deg);
}

92% {
-moz-transform: rotate(-4deg) skewx(-4deg);
}
}
@-ms-keyframes tabdance {
0%, 100% {
-ms-transform: rotate(0) skewx(0);
}
17% {
-ms-transform: rotate(4deg) skewx(4deg);
}

92% {
-ms-transform: rotate(-4deg) skewx(-4deg);
}
}
@-o-keyframes tabdance {
0%, 100% {
-o-transform: rotate(0) skewx(0);
}
17% {
-o-transform: rotate(4deg) skewx(4deg);
}

92% {
-o-transform: rotate(-4deg) skewx(-4deg);
}
}
@keyframes tabdance {
0%, 100% {
transform: rotate(0) skewx(0);
}
17% {
transform: rotate(4deg) skewx(4deg);
}

92% {
transform: rotate(-4deg) skewx(-4deg);
}
}

#xg_navigation ul li a {
-webkit-animation-name: tabdance;
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-iteration-count: infinite;
-webkit-animation-duration: 1s;
-moz-animation-name: tabdance;
-moz-animation-timing-function: ease-in-out;
-moz-animation-iteration-count: infinite;
-moz-animation-duration: 1s;
-ms-animation-name: tabdance;
-ms-animation-timing-function: ease-in-out;
-ms-animation-iteration-count: infinite;
-ms-animation-duration: 1s;
-o-animation-name: tabdance;
-o-animation-timing-function: ease-in-out;
-o-animation-iteration-count: infinite;
-o-animation-duration: 1s;
animation-name: tabdance;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-duration: 1s;
}

you can adjust the speed by changing the duration

(fixed issue with subtabs not displaying)

Views: 865

Reply to This

Replies to This Discussion

can you show us the live preview?

This is awesome.......you have no idea........as my header is the Chicago skyline and the tabs are set in the water along the coastline.  Now they're *rocking* away!  *LOL*  Wonder if any of my members are subject to sea sickness.  Thank you so much Soaringeagle.

lets see your url

http://stockbuz.net

I noticed it's not working in IE but it does function in Firefox

Where do i paste into ?

"Pothead Universe"

In the old editor, you paste it in Appearance/Advanced box.  idk with the new Editor

advanced css

in design studio

awesome. work great on my network,. thank u  so much the real tech guy

Hi Soaring Eagle,I'm glad you got around to doing this as it does look nice on the water.......  can you tell me how to just make it dance for 4s and then stop please,

and is there a way to only make it dance once for the user thats on the site and not dance each time here navigates through the site

Thanks for any help :-)

RSS

Latest Activity

Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"OK thank you"
23 minutes ago
Vamptasia. replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"I am still unable to change my picture at the top of my page as I detect no dustbin image. It…"
24 minutes ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Top left corner; same place you created all of your pages.  Once in Social Site manager, go to…"
25 minutes ago
Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"How do I get to those controls? "
38 minutes ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
58 minutes ago
Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Hi Kos how do I get to where I can to rename URL to something other then Blog I can't find any…"
1 hour ago
John Bizley replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"The best way to accomplish this would be to add all those elements you have on the blog to a custom…"
1 hour ago
Sylvia Hysen replied to Sylvia Hysen's discussion 'NING 2.0- Sign-up for newsletter'
"**See update on my quest to achieve this on NING 2.0."
2 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service