-
Notifications
You must be signed in to change notification settings - Fork 0
/
box.css
95 lines (86 loc) · 1.63 KB
/
box.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
* {
margin: 0;
color: antiquewhite;
text-decoration: solid;
font-size: 25px;
}
.container {
background-image: url("images/top-view-food-frame-with-copy-space.jpg");
background-color: #cccccc;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
display: grid;
height: 100vh;
grid-template-areas:
"navbar"
"content"
"contact";
grid-template-rows: 100px 1fr 100px;
}
.navbar {
position: relative;
display: flex;
align-items: center;
background-color: rgba(128, 128, 128, 0.2);
}
.navbar img {
height: 50px;
width: 50px;
margin-left: 300px;
margin-right: 20px;
}
.navbar span {
margin-right: 300px;
font-size: 35px;
}
.dropbtn {
background-color: transparent;
color: antiquewhite;
padding: 16px;
font-size: 25px;
border: none;
border-radius: 8px;
font-style: bold;
}
.Menu {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: transparent;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dropdown-content a {
color: antiquewhite;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: rgba(128, 128, 128, 0.7);
}
.Menu:hover .dropdown-content {
display: block;
}
.Menu:hover .dropbtn {
background-color: transparent;
}
.content {
background-color: blue;
position: absolute;
left: 1000px;
top: 300px;
height: 500px;
width: 500px;
border-radius: 100px 50px;
display: flex;
justify-content: center;
align-items: center;
padding-left: 30px;
}