Added CSS transitions

This commit is contained in:
2021-05-02 03:52:48 +02:00
parent ef1f8c63b9
commit 53fe6c4b2d
3 changed files with 12 additions and 1 deletions

View File

@@ -55,6 +55,8 @@ body {
height: 100%;
width: auto;
border-left: 9px solid #fff;
-webkit-transition: margin 0.5s ease, border-color 0.2s ease;
transition: margin 0.5s ease, border-color 0.2s ease;
}
#content div#container div#reflection {
@@ -64,6 +66,8 @@ body {
bottom: 0;
width: 100%;
height: 100%;
-webkit-transition: margin 0.5s ease;
transition: margin 0.5s ease;
}
#content .col {
@@ -71,6 +75,9 @@ body {
height: 70px;
width: 70px;
cursor: pointer;
-webkit-transition: background-color 0.2s ease;
transition: background-color 0.2s ease;
background-color: #fff;
}
#content .col:nth-child(n + 2) {