MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 430: Line 430:
const d = Math.cos(Math.atan(10/h));
const d = Math.cos(Math.atan(10/h));
// `transform: matrix(1, -0.02, 0.02, 1, 0, 0);`
// `transform: matrix(1, -0.02, 0.02, 1, 0, 0);`
showArticle.style.transform = `matrix(${a}, ${b}, ${c}, ${d}, 0, 0);`;
Object.assign(showArticle.style, {
transform: `matrix(${a}, ${b}, ${c}, ${d}, 0, 0);`,
})
// showArticle.style.transform = `matrix(${a}, ${b}, ${c}, ${d}, 0, 0);`;
    console.log('', h);
    console.log('', h);
}
}

Navigation menu