-
Notifications
You must be signed in to change notification settings - Fork 0
/
design.html
232 lines (188 loc) · 5.23 KB
/
design.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<!DOCTYPE html>
<html>
<head>
<title>Website Design</title>
<link rel="stylesheet" href="style/style.css">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<script type="text/javascript" src="js/utils.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.header{
float: none;
}
.sidenav p {
padding-left: 32px;
}
h3 {
padding-left: 32px;
}
#textareaExample {
margin-left: 46%;
width: 13%;
}
#buttonExample{
margin-left: 48%;
}
#gridButtonExample{
margin-left: 30%;
}
#exampleGrid{
margin-left: 42%;
margin-bottom: 50px;
}
#navContainerExample{
padding-left: 0px;
display: inline;
margin-left: 50%;
margin-right: 0px;
}
</style>
<div id="mySidenav" class="sidenav">
<h3>
My navigational links
</h3>
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a href="#">font-size: 25px</a>
<a href="#">font-family: Roboto</a>
<a href="#"> color: #818181</a>
<a href="#">transition: 0.3s</a>
<a href="#">hover and active color: #F1F1F1</a>
<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">padding: 8px 8px 8px 32px</a>
<h3>My side nav</h3>
<p>
position: fixed
</p>
<p>
background-color: #90CAF9
</p>
<p>
box-shadow applied
</p>
<p>
overflow-x: hidden
</p>
<p>
transition: 0.5s
</p>
</div>
<div class="header">
<h1>My header</h1>
<p>
H1,
font-family: Roboto,
font-color: #AEBFBE
text-align
</p>
<p>
body background color: #E0F2F1
</p>
</div>
</head>
<body>
<br>
<div class="header">
<h1>My Nav Button</h1>
<p>
image: hamburger icon,
background-color: #90CAF9,
box-shadow applied,
display: inline
</p>
<p>
click button to open side nav
</p>
</div>
<div id="navContainerExample" class="navContainer">
<a href="javascript:void(0)" onclick="openNav()">
<img id="navImg" src="assets/nav.png"/>
</a>
</div>
<br><br>
<br><br>
<div class="header">
<h1>My textarea</h1>
<p>
font-size: 20px,
outline: none,
box-shadow applied,
display: block
</p>
<p>
border: none,
border-radius: 5px,
border-bottom: 1px solid,
height 75px
</p>
<p>
background-color: #E1F5FE
</p>
</div>
<textarea id="textareaExample" type="text"> this is what I look like</textarea><br><br>
<div class="header">
<h1>My button</h1>
<p>
padding 12px 24px,
position relative,
</p>
<p>
box-shadow applied,
display: block
</p>
<p>
border-wdith: 0,
border-radius: 5px,
border-bottom: 1px solid
</p>
<p>
transition: background-color 0.3s,
overflow: hidden
</p>
<p>
background-color: #64B5F6,
background-color hover: #0D47A1
</p>
<p>
overflow: hidden,
font-family: Roboto
</p>
</div>
<button id="buttonExample" onclick="location.href='assets/hello.html';">I am a button</button>
<br><br>
<div class="header">
<h1>My Grid</h1>
<p>
box-shadow applied on divs inside grid container,
</p>
grid-template-columns: 1fr 1fr 1fr,
grid-gap: 20px,
display: grid,
<p>
align-items: stretch,
justify-items: stretch
</p>
<p>
padding-left: 20px,
padding-right: 20px
</p>
<p>
transition: 1s
</p>
</div>
<div id="exampleGrid" class="gridContainer">
<div>
<h1> I am a grid</h1>
<p>
text-color: #fff
</p>
<p>
here is what a text area looks like
</p>
<textarea></textarea>
<p>
and now a button
</p>
<button id="gridButtonExample">A button</button>
</div>
</div>
</body>
</html>