Добавил плавную анимацию при наведении
This commit is contained in:
@@ -17,7 +17,7 @@ body {
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
color: white;
|
||||
color: orangered;
|
||||
}
|
||||
|
||||
h1 {
|
||||
@@ -44,6 +44,11 @@ h1 {
|
||||
text-align: center;
|
||||
padding-top: 50%;
|
||||
font-size: 20px;
|
||||
transition: background-color 1s, color 1s;
|
||||
}
|
||||
.face:hover {
|
||||
background-color: orangered;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.front {
|
||||
|
||||
Reference in New Issue
Block a user