Skip to content

Commit

Permalink
feat: add a smooth transition for bg change
Browse files Browse the repository at this point in the history
  • Loading branch information
p208p2002 committed Apr 4, 2024
1 parent 124255c commit d9dd934
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ html, body, #root {
background-color: var(--main-bg-1);
}

#root{
transition: background-color 0.8s;
}

.render-container{
margin: 0 auto;
max-width: 770px;
Expand Down

0 comments on commit d9dd934

Please sign in to comment.