document.addEventListener("DOMContentLoaded", () => { console.log("Palaižam ideāli plūstošu rotāciju!"); // Šis kods vienkārši iedod katrai figūrai bezgalīgu un plūstošu CSS griešanos const style = document.createElement("style"); style.innerHTML = ` .circle, .triangle, .square { animation: spin-smooth 4s linear infinite; } @keyframes spin-smooth { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } `; document.head.appendChild(style); });