You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I needed a shake that only occurred for N% of the full animation (so that it would shake for say one second, then not move for three seconds before shaking again), so csshake wasn't a perfect fit for my use case. Maybe support for this could be added?
I ended up writing my own SCSS that wound up being similar to yours, so here it is in case you can use something from it:
- Mix everything in one @mixin
- Modifiers classes more semanthic
- Improve code order and declarations
- Add option to only use part of the 100% of keyframes animation (issue #25)
- Allow unitless values for x, y and rotation
- Add option to trigger animation from a parent element (issue #16)
- Having only one @mixing it's possible to export animations separatedly (issue #20)
I needed a shake that only occurred for N% of the full animation (so that it would shake for say one second, then not move for three seconds before shaking again), so csshake wasn't a perfect fit for my use case. Maybe support for this could be added?
I ended up writing my own SCSS that wound up being similar to yours, so here it is in case you can use something from it:
Example use:
Example output:
The text was updated successfully, but these errors were encountered: