We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd3c75b commit deeb3adCopy full SHA for deeb3ad
resources/views/components/home/hero.blade.php
@@ -660,16 +660,21 @@ class="scale-75 opacity-50"
660
<svg
661
x-init="
662
() => {
663
- gsap.to($el, {
664
- duration: 1.5,
665
- x: 3,
666
- y: 3,
667
- rotate: 2,
668
- scale: 1.02,
669
- ease: 'power1.inOut',
670
- repeat: -1,
671
- yoyo: true,
672
- })
+ motion.animate(
+ $el,
+ {
+ x: 3,
+ y: 3,
+ rotate: -3,
+ transformPerspective: 600,
+ },
+ duration: 1.5,
673
+ repeat: Infinity,
674
+ repeatType: 'mirror',
675
+ ease: motion.easeInOut,
676
677
+ )
678
}
679
"
680
xmlns="http://www.w3.org/2000/svg"
0 commit comments