-
Notifications
You must be signed in to change notification settings - Fork 0
/
home_example.html
81 lines (81 loc) · 1.58 KB
/
home_example.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<link rel="stylesheet" href="">
</head>
<style>
*{
margin: 0;
padding: 0;
}
header{
position: relative;
float: left;
height: 100vh;
width: 100%;
}
header nav{
height: 70px;
width: 70px;
position: fixed;
background-color: #ccc;
top: 30px;
left: 30px;
}
header #logo{
position: absolute;
top: 30px;
height: 100px;
line-height: 100px;
left: 50%;
border: 1px solid #ddd;
box-sizing: border-box;
width: 100%;
text-align: center;
transform: translateX(-50%);
}
header #middle-vertical{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;
width: 100%;
box-sizing: border-box;
border: 1px solid #ddd;
}
#button{
position: absolute;
bottom: 30px;
height: 50px;
border: 1px solid #ddd;
box-sizing: border-box;
width: 100%;
text-align: center;
transform: translateX(-50%);
left: 50%;
}
#button #btn{
height: 50px;
width: 180px;
}
</style>
<body>
<header>
<nav></nav>
<header id="logo"><h1>Logo</h1></header>
<div id="middle-vertical">
<div id="droid"><h2>Droid</h2></div>
<div id="title"><h3>Lorem ipsum dolor sit amet</h3></div>
<div id="sub-title"><h4>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</h4></div>
<div id="sub-sub-title"><h5>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</h5></div>
</div>
<div id="button">
<button id="btn">Saiba Mais</button>
</div>
</header>
</body>
</html>