-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (89 loc) · 2.01 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Image Holder</title>
<style>
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
margin: 0;
height: 100vh;
}
body {
color: #636b6f;
height: 100vh;
margin: 0;
font-size: 16px;
font-family: 'open sans', Helvetica, Arial, sans-serif;
background: #fff;
}
pre,
code {
line-height: 1.5;
font-size: 14px;
font-family: "Source Code Pro", "Hack", "Monaco", "Inconsolata", monospace;
-webkit-font-smoothing: auto;
}
code {
display: inline-block;
vertical-align: middle;
border-radius: 3px;
padding: .25em .5em;
margin: 0 0.15em;
background-color: #f5f5f5;
white-space: pre-wrap;
}
pre {
display: block;
width: 100%;
padding: 15px;
margin: 30px 0;
white-space: pre-wrap;
word-wrap: break-word;
background: #f6f8fa;
border-radius: 3px;
overflow: auto;
}
pre code {
display: block;
color: inherit;
font-size: 1em;
border-radius: 0;
border: 0;
padding: 0;
margin: 0;
background: none;
}
.container {
width: 640px;
margin: 0 auto;
padding: 30px 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
.title {
font-size: 64px;
font-weight: 300;
margin: 0 0 32px 0;
}
</style>
</head>
<body>
<div class="container">
<h1 class="title">Image Holder</h1>
<pre><code><img src="https://holder.moyu.io/200">
<img src="https://holder.moyu.io/300/200">
<img src="https://holder.moyu.io/300/200?bg=000&color=fff">
<img src="https://holder.moyu.io/300?text=Hello&size=40"></code></pre>
</div>
</body>
</html>