Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
frank6200db authored Jun 19, 2024
1 parent ea481d3 commit 5feeb52
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,16 @@
margin: 0;
padding: 0;
overflow: hidden;
background-color: #90EE90;
/* background-color: #90EE90;*/
background-color: green;
position: fixed;
width: 100%;
transition: background-color 0.5s ease;
/* 为背景颜色改变添加过渡效果 */
}

.navbar.scrolled {
background-color: #90EE90;
background-color: green;
}

.navbar li {
Expand Down

0 comments on commit 5feeb52

Please sign in to comment.