Skip to content

Commit f7c6257

Browse files
committed
Style : give some animation and style
1 parent 609c631 commit f7c6257

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

css/style.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,34 @@
3434
display: flex;
3535
align-items: center;
3636
color: black;
37+
}
38+
nav a:hover{
39+
background-color: #f0f0f0;
40+
}
41+
nav li:first-child{
42+
margin-right: auto;
43+
}
44+
.sidebar{
45+
position: fixed;
46+
top: 0;
47+
right: 0;
48+
height: 100vh;
49+
width: 250px;
50+
background-color: rgba(255, 255, 255, 0.15);
51+
backdrop-filter: blur(12px);
52+
box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
53+
list-style: none;
54+
display: none;
55+
flex-direction: column;
56+
align-items: flex-start;
57+
justify-content: flex-start;
58+
}
59+
.sidebar li{
60+
width: 100%;
61+
}
62+
.sidebar a{
63+
width: 100%;
64+
}
65+
.menu-button{
66+
display: none;
3767
}

0 commit comments

Comments
 (0)