Animate specific image
-
Hello!
My site is under construction and I use “EZP Coming Soon Page” plugin in which i have the logo image selected to display on the under construction screen.
How can I put “Animate It” in that specific image? Maybe through WordPress’ Library?
Is there way?
Please let me know.
Thanks!
-
Dear Cataniax,
Apologies for the delayed reply.
I am afraid the EZP coming soon page does not allows any other plugins to load.What kind of animation are you looking for? If possible via plain CSS, I’ll give you CSS code for it.
Thanks for the reply.
Here’s a an approximate HTML example I have on an image that is on a page of my site:

Dear Cataniax,
I do not see anything except post_site written.
What I wanted to ask you is, what kind of animation are you planning to use.
For example, fadeIn BounceIn etc.I’ll give you custom CSS that would apply specific animation you want.
-
This reply was modified 9 years, 6 months ago by
eleopard.
Let’s say Bouncein.
I don’t know why “post_site” was only posted, I pasted the whole html, anyway…Alright. Please copy the following CSS and paste it in:
Coming Soon > Template > Advanced Tab > Custom CSS BoxbounceIn Animation will be applied to your logo.
#logo{ animation-duration: 0.5s; animation-delay: 0s; animation-timing-function: linear; animation-iteration-count: 1; -webkit-animation-name: bounceIn; -moz-animation-name: bounceIn; -o-animation-name: bounceIn; animation-name: bounceIn; backface-visibility: hidden; -o-backface-visibility: hidden; -moz-backface-visibility: hidden; -webkit-backface-visibility: hidden; animation-fill-mode: both; transform: translate3d(0, 0, 0); perspective: 1000; -o-animation-fill-mode: both; -o-transform: translate3d(0, 0, 0); -o-perspective: 1000; -moz-animation-fill-mode: both; -moz-transform: translate3d(0, 0, 0); -moz-perspective: 1000; -webkit-animation-fill-mode: both; -webkit-transform: translate3d(0, 0, 0); -webkit-perspective: 1000; } @-webkit-keyframes bounceIn { 0% { opacity: 0; -webkit-transform: scale(.3); } 50% { opacity: 1; -webkit-transform: scale(1.05); } 70% { -webkit-transform: scale(.9); } 100% { -webkit-transform: scale(1); } } @-moz-keyframes bounceIn { 0% { opacity: 0; -moz-transform: scale(.3); } 50% { opacity: 1; -moz-transform: scale(1.05); } 70% { -moz-transform: scale(.9); } 100% { -moz-transform: scale(1); } } @-o-keyframes bounceIn { 0% { opacity: 0; -o-transform: scale(.3); } 50% { opacity: 1; -o-transform: scale(1.05); } 70% { -o-transform: scale(.9); } 100% { -o-transform: scale(1); } } @keyframes bounceIn { 0% { opacity: 0; transform: scale(.3); } 50% { opacity: 1; transform: scale(1.05); } 70% { transform: scale(.9); } 100% { transform: scale(1); } } .animated.bounceIn { -webkit-animation-name: bounceIn; -moz-animation-name: bounceIn; -o-animation-name: bounceIn; animation-name: bounceIn; }Please let me know if this works.
That was quick and great!!
If I want to use another animation I just replace everything that has “bounceIn”?
Also, how can I make it animate non-stop?Thanks again!
For animations, you’ll have to copy the selected animation CSS from Animate It! and paste it in the custom CSS box in the setting page.
If you could tell me the exact animation you need, I can send you the exact CSS that needs to be added.
In order to animate the element infinitely, just add the following rule:
#logo{ animation-iteration-count: infinite; }-
This reply was modified 9 years, 6 months ago by
eleopard.
Well, I was thinking “Pulse” in infinite mode, if it’s not much trouble.
Thanks again!
I want to have the effect of a beating heart sort of speak.
Dear Cataniax,
Please replace the old CSS with this one, in the same Custom CSS box:
#logo{ animation-duration: 1.5s; animation-timing-function: linear; animation-iteration-count: 1; -webkit-animation-name: bounceIn; -moz-animation-name: bounceIn; -o-animation-name: bounceIn; backface-visibility: hidden; -o-backface-visibility: hidden; -moz-backface-visibility: hidden; -webkit-backface-visibility: hidden; animation-fill-mode: both; transform: translate3d(0, 0, 0); perspective: 1000; -o-animation-fill-mode: both; -o-transform: translate3d(0, 0, 0); -o-perspective: 1000; -moz-animation-fill-mode: both; -moz-transform: translate3d(0, 0, 0); -moz-perspective: 1000; -webkit-animation-fill-mode: both; -webkit-transform: translate3d(0, 0, 0); -webkit-perspective: 1000; -webkit-animation-iteration-count: infinite; /* Safari 4.0 - 8.0 */ animation-iteration-count: infinite; -webkit-animation-name: pulse; -moz-animation-name: pulse; -o-animation-name: pulse; animation-name: pulse; -webkit-animation-delay: 1s; /* Safari 4.0 - 8.0 */ animation-delay: 1s; } @-webkit-keyframes pulse { 0% { -webkit-transform: scale(1); } 20% { -webkit-transform: scale(1.1); } 40% { -webkit-transform: scale(1); } 100% { -webkit-transform: scale(1); } } @-moz-keyframes pulse { 0% { -moz-transform: scale(1); } 20% { -moz-transform: scale(1.1); } 40% { -moz-transform: scale(1); } 100% { -moz-transform: scale(1); } } @-o-keyframes pulse { 0% { -o-transform: scale(1); } 20% { -o-transform: scale(1.1); } 40% { -o-transform: scale(1); } 100% { -o-transform: scale(1); } } @keyframes pulse { 0% { transform: scale(1); } 20% { transform: scale(1.1); } 40% { transform: scale(1); } 100% { transform: scale(1); } }Let me know if this works.
That was great, thanks again! What should I change if I want it a bit faster?
Thanks again, I just left a small review too 🙂
Thanks.
Sorry for bringing this up again, but can I use Animate It for only a specific part of the image?
I can send you the link to check it out if you can…Thank you.
-
This reply was modified 9 years, 6 months ago by
The topic ‘Animate specific image’ is closed to new replies.