Rotate Logo on scroll

PHOTO EMBED

Mon Apr 04 2022 01:13:01 GMT+0000 (UTC)

Saved by @Prowhiz #jquery

(function($) {
	$(document).ready(function(){
		$(window).scroll(function() {
		var deg = $(window).scrollTop()/2;
		$('#header-company-logo').css({ transform: 'rotate(' + deg + 'deg)' });
		});
	});
})(jQuery);
content_copyCOPY

https://markokrstic.com/code/