lectures done

This commit is contained in:
2026-01-03 15:32:33 +10:00
parent b6776f93fd
commit f982d05a54
12 changed files with 95 additions and 17 deletions

View File

@@ -0,0 +1,11 @@
document.getElementById('aboba').addEventListener('mouseover', function() {
const parent = this.parentElement;
parent.style.paddingTop = `${parseFloat(window.getComputedStyle(parent).paddingTop) * 1.1}px`;
parent.style.paddingBottom = `${parseFloat(window.getComputedStyle(parent).paddingBottom) * 1.1}px`;
});
document.getElementById('aboba').addEventListener('mouseout', function() {
const parent = this.parentElement;
parent.style.paddingTop = `${parseFloat(window.getComputedStyle(parent).paddingTop) / 1.1}px`;
parent.style.paddingBottom = `${parseFloat(window.getComputedStyle(parent).paddingBottom) / 1.1}px`;
});