-
Notifications
You must be signed in to change notification settings - Fork 0
/
practise.css
105 lines (85 loc) · 1.68 KB
/
practise.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.{
margin:0;
padding: 0;
box-sizing: border-box;
font-family: 'open sans',sans-serif;
}
Body{
height: 100vh;
background-image: url(wallpaper.jpg);
background-size: cover;
background-position: center;
}
li{
list-style: none;
}
a{
text-decoration: none;
color: #fff;
font-size: 1rem;
}
a:hover{
color: orange;
}
/* header*/
header{
position: relative;
padding: 0 2rem;
}
.navbar{
width: 100%;
height: 60px;
max-width: 1200px;
margin: o auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.navbar .logo a {
font-size: 1.5rem;
font-weight: bold;
}
.navbar .links {
display: flex;
gap: 2rem;
}
.navbar .toggle_btn {
color: #fff;
font-size: 1.5rem;
cursor: pointer;
display: none;
}
.action_btn{
background-color: orange;
color: #fff;
padding: 0.5rem 1rem;
border: none;
outline: none;
border-radius: 20px;
font-size: 0.8rem;
font-weight: bold;
cursor: pointer;
}
.action_btn :hover {
scale: 1.05;
color: #fff;
}
.action_btn:active {
scale: 0.95;
}
/* DROPDOWN_MENU */
.dropdown_menu{
position: absolute;
right: 2rem;
top: 60px;
}
/* RESPONSIVE DESIGN*/
@media (max-width:992px){bar
.navbar .links,
.navbar .action_btn {
display: none;
}
.navbar .toggle_btn {
display:block ;
}
}