-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcoding_html.html
More file actions
119 lines (110 loc) · 2.4 KB
/
coding_html.html
File metadata and controls
119 lines (110 loc) · 2.4 KB
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
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.split {
height: 100%;
width: 50%;
position: fixed;
z-index: 1;
top: 0;
overflow-x: hidden;
padding-top: 20px;
}
.left {
left: 0;
background-color: #fff;
}
.right {
right: 0;
background-color: #fff;
}
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
.centered img {
width: 150px;
border-radius: 50%;
}
/* The device with borders */
.smartphone {
position: relative;
width: 360px;
height: 500px;
margin: auto;
border: 16px black solid;
border-top-width: 60px;
border-bottom-width: 60px;
border-radius: 36px;
}
/* The horizontal line on the top of the device */
.smartphone:before {
content: '';
display: block;
width: 60px;
height: 5px;
position: absolute;
top: -30px;
left: 50%;
transform: translate(-50%, -50%);
background: #333;
border-radius: 10px;
}
/* The circle on the bottom of the device */
.smartphone:after {
content: '';
display: block;
width: 35px;
height: 35px;
position: absolute;
left: 50%;
bottom: -65px;
transform: translate(-50%, -50%);
background: #333;
border-radius: 50%;
}
/* The screen (or content) of the device */
.smartphone .content {
width: 360px;
height: 500px;
background: white;
}
textarea{
height:550px;
width:600px;
padding:10px;
background-color: #111;
color:aqua;
}
</style>
</head>
<body>
<div class="split left">
<div class="centered">
<!-- <img src="img_avatar2.png" alt="Avatar woman">
<h2>Jane Flex</h2>
<p>Some text.</p> -->
<textarea>
<html>
<body>
<h1>Hello World</h1>
</body>
</html>
</textarea>
</div>
</div>
<div class="split right">
<div class="centered">
<div class="smartphone">
<div class="content">
<iframe src="pricing_table.html" style="width:100%;border:none;height:100%" />
</div>
</div>
</div>
</div>
</body>
</html>