-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.css
More file actions
119 lines (113 loc) · 1.94 KB
/
Copy pathsample.css
File metadata and controls
119 lines (113 loc) · 1.94 KB
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
:root{
--color-primary:blue;
--color-white:white;
--color-black:black;
--color-black-1:rgb(63, 180, 234);
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: sans-serif;
}
.menubar{
background-color:rgb(4, 14, 18);
height: 60px;
width: 1536px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 5%;
}
.logo
{
color: var(--color-white);
font-size: 30px;
}
.logo span{
color:rgb(246, 53, 53)
}
.menubar ul{
list-style: none;
display: flex;
}
.menubar ul li{
padding: 10px 30px;
position:relative;
}
.menubar ul li a{
color:white;
text-decoration: none;
font-size: 20px;
transition: all 0.3s;
}
.menubar ul li a:hover
{
color: blue;
}
.dropdown{
display: none;
}
.menubar ul li:hover .dropdown{
display: block;
position: absolute;
left: 0;
top: 100%;
background-color: rgb(4, 14, 18);
}
.dropdown ul{
display: block;
margin: 10px;
}
.dropdown ul li{
width: 150px;
padding: 10px;
}
body{
height:calc(100vh -80px);
background-image: url(backgroundpic3.jpg);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.title{
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;
}
.title h1{
color:white;
font-size: 70px;
}
.solid
{
border-style: solid;
border-color: red;
;
}
.double
{
border-style: double;
border-color: azure;
}
.button{
position: absolute;
top: 60%;
left: 50%;
transform: translate(-50%,-50%);
}
.btn{
border: 1px solid white;
padding: 10px 30px;
color: white;
text-decoration: none;
transition: 0.6 ease;
}
.btn :hover{
background-color: white;
color: black;
}