-
Notifications
You must be signed in to change notification settings - Fork 0
/
order.html
72 lines (71 loc) · 1.31 KB
/
order.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
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<style>
* { box-sizing: border-box; padding: 0; margin: 0; }
body {
background: #aaa;
max-width: 900px;
margin: 0 auto;
}
section {
background: #aaf;
height: 300px;
margin-bottom: 20px;
}
ul {
display: flex;
flex-flow: row wrap;
list-style: none;
justify-content: space-between;
font-family: "Helvetica Neue";
font-weight: 200;
letter-spacing: 1px;
}
li { height: 40px;}
a {
background: #99a;
padding: 5px 15px;
border-radius: 3px;
cursor: pointer;
min-width: 13px;
text-align: center;
box-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}
a:first-child,a:last-child {
width: auto;
}
@media screen and (max-width: 500px) {
li:first-child,li:last-child { width: 50%; }
li:first-child {
order: -2;
}
li:last-child {
order: -1;
text-align: right;
}
}
</style>
</head>
<body>
<section></section>
<footer>
<nav>
<ul>
<li><a>Prev</a></li>
<li><a>1</a></li>
<li><a>2</a></li>
<li><a>3</a></li>
<li><a>4</a></li>
<li><a>5</a></li>
<li><a>6</a></li>
<li><a>7</a></li>
<li><a>8</a></li>
<li><a>Next</a></li>
</ul>
</nav>
</footer>
</body>
</html>