Добавил плавную анимацию при наведении

This commit is contained in:
Ilia Miheev
2026-01-17 21:27:21 +03:00
parent 01a6c7b210
commit 3fee47e0cc
+6 -1
View File
@@ -17,7 +17,7 @@ body {
align-items: center; align-items: center;
height: 100vh; height: 100vh;
overflow: hidden; overflow: hidden;
color: white; color: orangered;
} }
h1 { h1 {
@@ -44,6 +44,11 @@ h1 {
text-align: center; text-align: center;
padding-top: 50%; padding-top: 50%;
font-size: 20px; font-size: 20px;
transition: background-color 1s, color 1s;
}
.face:hover {
background-color: orangered;
color: white;
} }
.front { .front {