-
Notifications
You must be signed in to change notification settings - Fork 0
/
challenge.html
53 lines (49 loc) · 1.04 KB
/
challenge.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
<!DOCTYPE html>
<html>
<head>
<title>cleartrip</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
*{
box-sizing: border-box;
}
body{
font-family: Arial, Helvetica, sans-serif;
}
header{
background-color: blanchedalmond;
}
section{
display: -webkit-flex;
display: flex;
}
nav{
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
background: #ccc;
}
article {
-webkit-flex: 3;
-ms-flex: 3;
flex: 3;
background-color: #f1f1f1;
padding: 10px;
}
footer {
background-color: #777;
padding: 10px;
text-align: center;
color: white;
}
@media (max-width: 600px) {
section {
-webkit-flex-direction: column;
flex-direction: column;
}
</style>
</head>
<body>
</body>
</html>