-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtester.html
131 lines (125 loc) · 3.39 KB
/
tester.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
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
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tester</title>
<link rel="stylesheet" href="https://i.icomoon.io/public/temp/40bfe85f46/UntitledProject/style.css">
<style>
html, body{
font-family: Arial, Helvetica, sans-serif;
margin: 0;
height: 100%;
padding: 0;
}
.hero{
height: 100%;
}
.hero {
display: grid;
grid-template: 100px 1fr / 100px 1fr;
grid-template-areas: "header header" "aside main";
}
.hero header{
display: flex;
justify-content: center;
align-items: center;
grid-area: header;
background: #f2f2f2;
}
.hero aside{
grid-area: aside;
background: rgb(41, 196, 207);
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
.hero main{
grid-area: main;
background: #232323;
display: flex;
justify-content: center;
padding-top: 50px;
}
.menu{
position: fixed;
}
</style>
<link rel="stylesheet" href="css/style.css">
<style>
.menu-toggle{
position: relative;
}
.menu-toggle input{
display: block;
height: 32px;
top: -3px;
left: -5px;
position: absolute;
opacity: 0;
width: 40px;
}
.menu-contenido{
background: #f2f2f2;
position: absolute;
padding: 50px;
}
.open-menu, .close-menu{
color: #fff;
font-size: 32px;
display: block;
height: 32px;
width: 35px;
}
.close-menu{
display: none;
}
input:checked ~ .menu-contenido, input:checked ~ .open-menu{
display: none;
}
input:checked ~ .close-menu{
display: block;
}
.menu-toggle ul{
margin: 0;
padding: 0;
list-style: none;
}
.menu-toggle ul li{
margin: 0;
padding: 0;
list-style: none;
}
</style>
</head>
<body>
<div class="hero">
<header>
<p>header</p>
</header>
<aside>
<div class="menu">
<p>aside</p>
</div>
</aside>
<main>
<div class="opciones-perfil">
<div class="menu-toggle">
<input type="checkbox">
<span class="icon-circle-down open-menu"></span>
<span class="icon-circle-up close-menu"></span>
<div class="menu-contenido">
<ul>
<a href=""><li>link</li></a>
<a href=""><li>link</li></a>
<a href=""><li>link</li></a>
<a href=""><li>link</li></a>
<a href=""><li>link</li></a>
</ul>
</div>
</div>
</div>
</main>
</body>
</html>