|
25 | 25 | } |
26 | 26 |
|
27 | 27 | .container{ |
28 | | - font-size:13px; |
29 | 28 | text-align:justify; |
30 | 29 | -webkit-hyphens:auto; |
31 | 30 |
|
|
34 | 33 |
|
35 | 34 | width: 30em; |
36 | 35 | height: 30em; |
37 | | - overflow: visible; |
| 36 | + overflow: hidden; |
38 | 37 | } |
39 | 38 |
|
40 | 39 | .container p { |
41 | | - font-size: 18px; |
| 40 | + font-size: 1.2em; |
42 | 41 | color: #808080; |
43 | 42 | } |
44 | 43 |
|
45 | 44 | .exclusion{ |
46 | 45 | position:absolute; |
47 | | - top: 12em; /* 40% of 30em */ |
48 | | - left: 15em; /* 50% of 30em */ |
49 | | - height: 6em; /* 20% of 30em */ |
50 | | - width: 7.5em; /* 25% of 30 em */ |
51 | 46 | background: rgba(70, 164, 233, 0.5); |
52 | 47 | /* flow text around this element */ |
53 | | - -webkit-wrap-shape-mode: around; |
| 48 | + --webkit-wrap-shape-mode: around; |
| 49 | + |
| 50 | + --webkit-render-wrap-shape: auto; |
54 | 51 | } |
55 | 52 |
|
56 | 53 | #exclusion1{ |
57 | | - margin-left: 0px; |
58 | | - margin-top: 0px; |
| 54 | + top: 7.5em; |
| 55 | + left: 15em; |
| 56 | + height: 7.5em; |
| 57 | + width: 7.5em; |
59 | 58 | } |
60 | | - |
61 | | - .rect{ |
| 59 | + |
| 60 | + #exclusion2{ |
| 61 | + top: 15em; |
| 62 | + left: 7.5em; |
| 63 | + height: 7.5em; |
| 64 | + width: 7.5em; |
| 65 | + } |
| 66 | + |
| 67 | + .rect1{ |
62 | 68 | /* regular box */ |
63 | | - /* -webkit-wrap-shape: polygon(0px, 0px 7.5em, 0px 7.5em, 6em 0px, 6em 0px, 0px); */ |
| 69 | + /* -webkit-wrap-shape: polygon(0px, 0px 7.5em, 0px 7.5em, 7.5em 0px, 7.5em 0px, 0px); */ |
64 | 70 |
|
65 | 71 | /* emulate wrap-flow: end */ |
66 | | - -webkit-wrap-shape: polygon(-15em, 0px 7.5em, 0px 7.5em, 6em -15em, 6em -15em, 0px); |
| 72 | + -webkit-wrap-shape: polygon(-15em, 0px 7.5em, 0px 7.5em, 7.5em -15em, 7.5em -15em, 0px); |
67 | 73 |
|
68 | 74 | /* emulate wrap-flow: start */ |
69 | | - -webkit-wrap-shape: polygon(0em, 0px 15em, 0px 15em, 6em 0em, 6em 0em, 0px); |
| 75 | + --webkit-wrap-shape: polygon(0em, 0px 15em, 0px 15em, 7.5em 0em, 7.5em 0em, 0px); |
70 | 76 |
|
71 | 77 | /* emulate wrap-flow: both */ |
72 | | - -webkit-wrap-shape: polygon(0px, 0px 7.5em, 0px 7.5em, 6em 0px, 6em 0px, 0px); |
| 78 | + --webkit-wrap-shape: polygon(0px, 0px 7.5em, 0px 7.5em, 7.5em 0px, 7.5em 0px, 0px); |
73 | 79 |
|
74 | 80 | /* emulate wrap-flow: clear */ |
75 | | - x-webkit-wrap-shape: polygon(-15em, 0px 15em, 0px 15em, 6em -15em, 6em -15em, 0px); |
| 81 | + --webkit-wrap-shape: polygon(-15em, 0px 15em, 0px 15em, 7.5em -15em, 7.5em -15em, 0px); |
76 | 82 | } |
| 83 | + |
| 84 | + .rect2{ |
| 85 | + /* regular box */ |
| 86 | + /* -webkit-wrap-shape: polygon(0px, 0px 7.5em, 0px 7.5em, 7.5em 0px, 7.5em 0px, 0px); */ |
| 87 | + |
| 88 | + /* emulate wrap-flow: end */ |
| 89 | + -webkit-wrap-shape: polygon(-15em, 0px 7.5em, 0px 7.5em, 7.5em -15em, 7.5em -15em, 0px); |
| 90 | + |
| 91 | + /* emulate wrap-flow: start */ |
| 92 | + -webkit-wrap-shape: polygon(0em, 0px 22.5em, 0px 22.5em, 7.5em 0em, 7.5em 0em, 0px); |
| 93 | + |
| 94 | + /* emulate wrap-flow: both */ |
| 95 | + --webkit-wrap-shape: polygon(0px, 0px 7.5em, 0px 7.5em, 7.5em 0px, 7.5em 0px, 0px); |
77 | 96 |
|
| 97 | + /* emulate wrap-flow: clear */ |
| 98 | + --webkit-wrap-shape: polygon(-7.5em, 0px 22.5em, 0px 22.5em, 7.5em -7.5em, 7.5em -7.5em, 0px); |
| 99 | + } |
78 | 100 | #workspace{ |
79 | 101 | position:relative; |
80 | 102 | width:80%; |
|
89 | 111 | border: 1px solid gray; |
90 | 112 | top: 0px; |
91 | 113 | opacity: 0.5; |
| 114 | + width: 7.5em; |
92 | 115 | } |
93 | 116 |
|
94 | 117 | .row { |
|
97 | 120 | border: 1px solid gray; |
98 | 121 | left: 0px; |
99 | 122 | opacity: 0.5; |
| 123 | + height: 7.5em; |
100 | 124 | } |
101 | 125 |
|
102 | 126 | #col-1 { |
103 | 127 | left: 0px; |
104 | | - width: 15em; |
105 | 128 | } |
106 | 129 |
|
107 | 130 | #col-2 { |
108 | | - left: 15em; |
109 | | - width: 7.5em; |
| 131 | + left: 7.5em; |
110 | 132 | } |
111 | 133 |
|
112 | 134 | #col-3 { |
113 | | - left: 22.5em; |
114 | | - width: 7.5em; |
| 135 | + left: 15em; |
115 | 136 | } |
116 | 137 |
|
| 138 | + #col-4 { |
| 139 | + left: 22.5em; |
| 140 | + } |
117 | 141 |
|
118 | 142 | #row-1 { |
119 | 143 | top: 0px; |
120 | | - height: 12em; |
121 | 144 | } |
122 | 145 |
|
123 | 146 | #row-2 { |
124 | | - top: 12em; |
125 | | - height: 6em; |
| 147 | + top: 7.5em; |
126 | 148 | } |
127 | 149 |
|
128 | 150 | #row-3 { |
129 | | - top: 18em; |
130 | | - height: 12em; |
| 151 | + top: 15em; |
| 152 | + } |
| 153 | + |
| 154 | + #row-4 { |
| 155 | + top: 22.5em; |
131 | 156 | } |
132 | 157 | </style> |
133 | 158 | </head> |
134 | 159 | <body> |
135 | 160 |
|
136 | 161 | <div id="workspace"> |
137 | | - <div id="exclusion1" class="exclusion rect"></div> |
| 162 | + <div id="exclusion1" class="exclusion rect1"></div> |
| 163 | + <div id="exclusion2" class="exclusion rect2"></div> |
138 | 164 | <div style="position:absolute;"> |
139 | 165 | <div class="container"> |
140 | 166 | <p>Lo­rem ip­sum do­lor sit amet, con­sec­te­tur ad­ipisc­ing elit. Vi­va­mus ac nul­la ac nunc ves­ti­b­u­lum sod­ales sed eget pu­rus. In­te­ger tris­tique neque at urna eleif­end por­ta. Mau­ris a sa­pi­en augue, ve­hic­u­la rutrum augue. Sus­pend­isse pre­tium pulvi­nar tris­tique. Nul­la el­e­men­tum blan­dit mas­sa, pel­len­tesque el­e­men­tum orci tem­pus sed. Cur­a­bi­tur eget est neque, nec pel­len­tesque enim. Sed blan­dit do­lor et neque tin­ci­dunt rutrum. Lo­rem ip­sum do­lor sit amet, con­sec­te­tur ad­ipisc­ing elit. Nul­lam tin­ci­dunt do­lor vel neque eleif­end frin­g­il­la. Prae­sent et orci nec jus­to vulpu­tate ul­tri­c­ies ac in leo. In nec ip­sum enim. Donec sus­cip­it plac­er­at ad­ipisc­ing. Nul­la a nunc mi. Sed ve­hic­u­la sus­cip­it mag­na sed con­val­lis. Donec ul­trices con­se­quat tor­tor, at fer­men­tum augue mal­esua­da in. Ut cur­sus, odio non port­ti­tor var­i­us, dui neque luc­tus la­cus, in rhon­cus dui odio eges­tas libe­ro. Mae­ce­nas po­s­u­ere con­sec­te­tur lec­tus, vi­tae con­sec­te­tur lig­u­la con­sec­te­tur eu.</p> |
141 | 167 |
|
142 | 168 | <div id="col-1" class="col"></div> |
143 | 169 | <div id="col-2" class="col"></div> |
144 | 170 | <div id="col-3" class="col"></div> |
| 171 | + <div id="col-4" class="col"></div> |
145 | 172 |
|
146 | 173 | <div id="row-1" class="row"></div> |
147 | 174 | <div id="row-2" class="row"></div> |
148 | 175 | <div id="row-3" class="row"></div> |
| 176 | + <div id="row-4" class="row"></div> |
149 | 177 |
|
150 | 178 | </div> |
151 | 179 | </div> |
|
0 commit comments