-
Notifications
You must be signed in to change notification settings - Fork 710
/
Copy pathdiagrams.html
72 lines (70 loc) · 1.57 KB
/
diagrams.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 lang=en>
<meta charset=utf-8>
<style>
.block {
background: #88E;
border: solid navy;
float: left;
padding: 4px;
line-height: 1.3;
font-size: 20px;
}
.line {
border: solid orange;
background: #FD8;
overflow: hidden;
}
.line:not(:first-child) {
border-top: none;
}
.root-inline {
border: 1px solid;
background: #DDF8;
border-color: blue;
}
.inline {
border: solid 2px;
background: #FDF8;
border-color: fuchsia;
}
.start, .root-inline:not(.start):not(.end) {
border-right: dotted 1px silver;
}
.end, .root-inline:not(.start):not(.end) {
border-left: dotted 1px silver;
}
.float {
float: left;
height: 2em;
padding: 1em;
background: #8888;
border: solid navy;
}
.big {
font-size: 2em;
}
</style>
<body>
<div class="block">
<div class="line"><span class="root-inline start">
Paragraph text ... <span class="inline start">Line-split Inline</span>
</span></div>
<div class="line"><span class="root-inline">
<span class="inline end">Element</span> ... ... ... ... ... ... ... ... ...
</span></div>
<div class="line"><span class="root-inline">
... ... ... ... <span class="inline big">Big Text</span> ... ... ...
</span></div>
<div class='float'>Float</div>
<div class="line"><span class="root-inline">
... ... ... ... ... ... ... ...
</span></div>
<div class="line"><span class="root-inline">
... ... ... ... ... ... ... ... ...
</span></div>
<div class="line"><span class="root-inline end">
... ... ... ... ...
</span></div>
</span>
</div>