573 points · by tilt · 9y ago · 68 comments
With that said, the website/webapp behaves kind of weirdly in my opinion. I would have never ever thought to click on the heart icon in order to select an animation for later download. I assumed that was some form of BS sharing feature. Also, when clicking on the "code" icon { } I wanted to see the underlying animation, not just its implementation.
If you use the "favorite" symbol/terminology then I'd expect to be able to browse a list of favorites somewhere.
One thing though, I've been clicking back and forth between this thread and the site and everytime I do I have to go through that animista loading image again. Got kind of annoying after a couple times. Maybe do something else, or just make it so it appears only the first time or something?
A tiny wee bit of an issue: Copying to clipboard does not work on firefox dev edition, had to get the code from source as selecting was disabled on the <pre>.
Also, why force downloading the whole library? Why not append the keyframes used to the code to be copied as an alt box entitled "Just want to use this one animation? Copy this!".
I don't understand the force downloading the whole library? I don't see that it does that. Going to the download page just provides me a way to copy the generated code of my chosen animations to paste wherever I want. I don't see an option to download anything.
Ah, I see now. Download is Chrome only. Regardless, my download only had the chosen animations. It didn't download the whole library for me.
You're right regarding the downloads! I must be super silly or this is slightly counter intuitive, didn't even notice the sidebar and the download page that requires you to "fav" animations first. And go figure, the copy button works there.
I can't find the license though, and won't push to prod until I do.
Animista is an awesome resource. Well presented and nicely done.
But if you think anyone can own the rights to specific transform values within the @keyframes rule, then you are mistaken.
That said...
Is it acceptable to animate `box-shadow` these days? Thought that was a pure framerate killer on mobile.
They do.
Well, as long as the browser of your choice supports the CSS properties in use. Which, at this point it would be easier to keep a list of browsers that do not support such things as opposed to ones that do.
It's just the site itself misbehaves on mobile. To test the animations on a phone, just tell your mobile browser to request the desktop site. You should be able to see the page then. More than likely that is, your experience may vary. I was able to see the desktop site on my Android phone. I was just unable to cycle through all the different animations to see them in action or choose them. That has more to do with how the UI of the site is built, nothing to do with the animations.
any small consulting job beats several thousand downloads
Animista lets people that write HTML/CSS/webapps interactively choose or tune the settings of a relatively small set of CSS animations styles. It's like a convenience table of contents for what one would typically find in scattered various CodePen examples. It wouldn't make much money.
The CSS line for bouncing a box is already on a million other sites.
It's a nicely presented web app, I've bookmarked it. The donation model is more than enough.
Can't get any of it to work on my site. No instructions on how to make it work, other than copying the CSS.
Blerghhhh
What you download from Animista are just the keyframe definitions. You apply them to a target element using CSS properties, particularly "animation:"
Clicking on the icon `{.}` will slide out a div that contains the code for the CSS animation.
The Animista web app is meant for web developers to browse the animations, take the very basic CSS code (not HTML) and use it in their projects - which might be mobile-friendly if you wish.
CSS animation is not "mobile or not", that task belongs to your other site-wide CSS and general HTML structure.
It's like saying you don't trust the drone will fly above 10 feet because in the store where you bought it the test flight was limited by a 10 foot ceiling.
Close... Product Manager (former Engineer) with 20+ years experience building things.
"You're either mobile first, or you're mobile last."
If someone puts up a warning sign telling me that they didn't bother to test their code on mobile... that tells me it's not ready for production yet. I don't want to get bogged down in something that wasn't tested on mobile, or that requires me to invest a lot of my time to get working right between browsers. Having the creator of this code put up a page saying not to use it on a phone seems to say they are comfortable writing off more than 50% of web users.
I don't think it's OK to launch anything, not even an MVP, if it doesn't work on mobile. Shouldn't building a mobile site be a trivial task for someone building CSS animations? How do I trust their work without a way to preview it?
All this site does is present existing CSS animation methods in a convenient, curated fashion with nice variations such as "wobble left". We know it works on mobile because the code is written according to the CSS spec.
If you have doubts about whether the CSS animation works on mobile, then you have doubts about whether the CSS animation spec in general works on mobile.
Developers don't copy and paste and write code on their mobile phones. Therefore the target audience is not your "50% of web users" club, which is a consumption stat, not coding or technical productivity/creating.
The code that you take from this site goes to your own project, and that's when you test on mobile - with your own HTML elements and other code.
Finally, "mobile first" is not right. Nothing should be "first" because by definition everything else is given less priority which is flawed logic depending on the application. "Mobile-friendly" is the more sensible idea.