-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhomepage.css
More file actions
95 lines (70 loc) · 1.43 KB
/
Copy pathhomepage.css
File metadata and controls
95 lines (70 loc) · 1.43 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
@font-face {
font-family: abster;
src:url(font/abster-webfont.woff) format('woff');
}
*{
background-color: aqua;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container{
width: 100%;
height: 100vh;
background: linear-gradient(rgba(0,0,0,8),rgba(0,0,0,8)),url(images/room.jpg);
}
.container .header{
width: 80%;
height: 80px;
margin:0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.container .header hi a{
text-decoration: none;
color: white;
font-family: abster;
}
.container .nav ul li{
display: inline-block;
margin: 0 10px;
}
.container .nav ul li a{
text-decoration: none;
color: white;
display: inline-block;
margin: 0 10px;
}
.container .nav ul li a:hover{
color: blue;
}
.container .hero{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.container .hero h2{
font-size: 60px;
margin-bottom: 20px;
}
.container .hero p{
font-size: 22px;
}
.container .hero button{
background-color: none;
border: 2px solid black;
color: white;
padding: 15px 20px;
border-radius: 20px;
margin-top: 30px;
outline: none;
cursor: pointer;
transition: all .4s;
}
.container .hero button:hover{
background-color: blue;
}