How to create this specific rotating effect?
Go to solution
Solved by badreg,
Copied and pasted from https://clickpivot.com/js/script.js
// Spin Badge $(window).scroll(function() { var theta = $(window).scrollTop() / 300 % Math.PI; $('#turn').css({ transform: 'rotate(' + theta + 'rad)' }); });
-
Topics
-
FangerZero ·
Posted in Displays2 -
lilrino71 ·
Posted in New Builds and Planning1 -
0
-
0
-
3
-
3
-
1
-
2
-
Fig073 ·
Posted in General Discussion3 -
Jai22 ·
Posted in Troubleshooting2
-
-
play_circle_filled
Latest From Linus Tech Tips:
If Buying Isn’t Ownership Then Piracy Isn’t Theft - WAN Show June 20, 2025
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now