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
-
Nebcs ·
Posted in CPUs, Motherboards, and Memory0 -
0
-
FancyPants101 ·
Posted in CPUs, Motherboards, and Memory0 -
0
-
1
-
0
-
0
-
l3eyond ·
Posted in Programs, Apps and Websites0 -
1
-
Serendipity1344 ·
Posted in Graphics Cards5
-

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