correggi rotazione per logo sulla destra

This commit is contained in:
boyska 2020-08-05 03:47:32 +02:00
parent de012f518c
commit 284fc7d8b0

View file

@ -2,7 +2,7 @@ document.addEventListener('DOMContentLoaded', function() {
var logo = document.getElementById('logo-img')
logo.classList.add('rotate')
function ruotaLogo() {
logo.style.transform = 'rotate(' + -window.pageYOffset/2+'deg)'
logo.style.transform = 'rotate(' + window.pageYOffset/2+'deg)'
}
function scrollSetup() {
"use strict";