-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
75 lines (68 loc) · 1.15 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Lilita+One&family=Kaushan+Script&family=Permanent+Marker&display=swap');
body{
font-family: 'Permanent Marker', cursive;
background-color:red;
}
*{
box-sizing:border-box;
margin:0;
padding:0;
}
header{
display:flex;
justify-content:space-between;
align-items:center;
padding:30px 10%;
}
.logo{
height:50px;
width:80px;
}
button{
padding:9px 25px;
background-color:#000000;
color:#edefff;
border:none;
border-radius:50px;
cursor:pointer;
transition: all 0.3s ease 0s;
font-family: 'Lilita One', cursive;
}
button:hover{
background-color:#edefff;
color:#000000;
}
#menu{
list-style:none;
}
#menu li{
float:left;
position:relative;
background-color:purple;
}
#menu li a{
text-decoration:none;
color:#edefff;
background-color:black;
display:block;
padding:10px 20px;
transition:width 2s ;
width:120px;
}
#menu li a:hover{
background-color:#edefff;
color:#000000;
width:200px;
}
#menu li ul{
list-style-type:none;
position:absolute;
left:-9999999px;
display:block;
}
#menu li:hover ul{
left:0;
}
#menu li ul li a{
width:200px;
}