-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.html
44 lines (40 loc) · 1.06 KB
/
example.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
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<div id="image">
<div class="content">
<p class="text">example</p>
</div>
</div>
<style>
body {
margin: 0;
padding: 0;
background: #ccc;
}
#image {
display: table;
text-align: center;
padding: 0px 30px;
width: 540px;
height: 314px;
background: #16a085;
}
#image div.content {
font-size: 25px;
font-weight: bold;
display: table-cell;
vertical-align: middle;
word-break: break-all;
}
#image p.text {
background: #fff;
border-radius: 10px;
padding: 110px 0px;
}
</style>
</body>
</html>