Keyframe animation via CSS not working
Moochi
Registered Users Posts: 10 Big grins
Hi everyone,
I've been trying to get a simple CSS text animation via @keyframe to work in my page, but it won't.
In my HTML block I put this http://codepen.io/foxtuon/pen/PwwQLm
ease works fine, but keyframes won't, tried to use class instead of id but no luck :scratch .
Is there a way to make it work ?
Thanks
I've been trying to get a simple CSS text animation via @keyframe to work in my page, but it won't.
In my HTML block I put this http://codepen.io/foxtuon/pen/PwwQLm
ease works fine, but keyframes won't, tried to use class instead of id but no luck :scratch .
Is there a way to make it work ?
Thanks
0
Comments
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
http://www.hafezphotography.com/Home-test/n-FF3cb
and wanted to have some effects going around .. still unable to.
www.hafezphotography.com
The code works fine on smugmug... I added it to my homepage. The challenge you're having is just getting it to target the right part of the page. I'd suggest posting the exact code you're using and someone will find the error.
Dave
http://www.hafezphotography.com/Web/Empty/n-4mmv9
The &:hover ease and transform works fine, but @keyframe animation won't run.
HTML/CSS included in the page.
here is the exact code working at
http://codepen.io/foxtuon/pen/qEEGVw
Aaron, your CSS customizations tips in your website are wonderful.
Thank you for your help
www.hafezphotography.com
Looks like your actual CSS might be missing some of the code that's shown on the page.
This seems to be the working CSS for that page:
It works for me using Chrome's inspect element.
Dave
The code it there when customizing the page, but just as you mentioned, when I inspect element, I find no (@keyframes) at all.
www.hafezphotography.com
No idea why that would be happening. It's working fine on my site. The only difference is I'm using it with a "built-in" element (galleries content block) as opposed to custom html. But there shouldn't be any difference in the treatment of the CSS.
I guess I should ask where the CSS is located. In a CSS content block, in the HTML/CSS content block, or in the theme? If it's in the HTML/CSS content block, try moving it to a standalone CSS content block or into your theme's CSS.
Dave
it works fine on your wonderful homepage. I just need more coffee
Thanks a lot Dave, appreciate your time
www.hafezphotography.com
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Yeah, it pulses in and out when hovering. I ended up removing it from my homepage due to a bug in chrome that causes severe blurring when scaling. It ended up blurring both the image and the text every time it pulsed, but only in chrome.
Dave
same code works outside SmugMug, I assume that @keyframe, @import are not supported via SmugMug HTML/CSS customization., at least on my own website
www.hafezphotography.com
You want it to pulse, big and then small, big and then small, right? The initial post you linked to just had images that zoomed in on hover.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
I'm trying to get the red box on the top to pulse. the code I have on the page is the exact code I have inside the HTML/CSS block.
I load the page in Safari, Firefox, Chrome, and inspect element, I can't find any "@keyframe".
I copy, paste the exact code from this block to codepen http://codepen.io/foxtuon/pen/XJmRzZ , and pulse animation works fine
www.hafezphotography.com
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
I just refreshed the HTML/CSS box, and all works super.
you guys are awesome.
www.hafezphotography.com
I'd love to see how you implement it on your site when you have it live!
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Maybe some Ken Burns slides with text animation over it. will see
Thank you again.
www.hafezphotography.com