-
Notifications
You must be signed in to change notification settings - Fork 0
/
grid-broken-2.html
114 lines (79 loc) · 2.09 KB
/
grid-broken-2.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
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
<html>
<head>
<style>
html, body, .wrapper-top-to-bottom {
height: 100%;
width: 100%;
}
body {
margin: 0;
}
.wrapper-top-to-bottom {
display: grid;
grid-template-columns: 1fr 1fr;
}
.wrapper-left {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr;
height: 100%;
width: 100%;
}
.wrapper-right {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr 1fr;
height: 100%;
width: 100%;
}
.left-top {
background-color: red;
}
.left-bottom {
background-color: blue;
}
.right-top {
background-color: yellow;
}
.right-middle {
background-color: magenta;
}
.right-bottom {
background-color: cyan;
}
.right-top svg {
max-height: 33%;
max-width: 100%;
}
.right-line {
stroke-width: 5;
stroke: black;
}
</style>
</head>
<body>
<div class="wrapper-top-to-bottom">
<div class="wrapper-left">
<div class="left-top">
</div>
<div class="left-bottom">
</div>
</div>
<div class="wrapper-right">
<div class="right-top">
<svg viewBox="0 0 100 100">
<line class="right-line" x1="41.75" y1="88.25" x2="51.75" y2="98.25"/>
<line class="right-line" x1="58.25" y1="88.25" x2="48.25" y2="98.25"/>
<line class="right-line" x1="50" y1="5" x2="50" y2="95"/>
<line class="right-line" x1="41.75" y1="11.75" x2="51.75" y2="1.75"/>
<line class="right-line" x1="58.25" y1="11.75" x2="48.25" y2="1.75"/>
</svg>
</div>
<div class="right-middle">
</div>
<div class="right-bottom">
</div>
</div>
</div>
</body>
</html>