OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 #shape-inside-vertical-lr { | |
6 padding: 20px 35px 25px 15px; | |
7 width: 150px; | |
8 height: 175px; | |
9 -webkit-writing-mode: vertical-lr; | |
10 position: relative; | |
11 } | |
12 #shape-inside-vertical-rl { | |
13 padding: 20px 35px 25px 15px; | |
14 width: 150px; | |
15 height: 175px; | |
16 -webkit-writing-mode: vertical-rl; | |
17 position: relative; | |
18 } | |
19 #border { | |
20 position: absolute; | |
21 top: 15px; | |
22 left: 10px; | |
23 width: 160px; | |
24 height: 185px; | |
25 border: 2px solid blue; | |
26 } | |
27 </style> | |
28 </head> | |
29 <body> | |
30 <div id="shape-inside-vertical-lr"> | |
31 <div id="border"></div> | |
32 This text should be contained by the blue square. | |
33 </div> | |
34 <div id="shape-inside-vertical-rl"> | |
35 <div id="border"></div> | |
36 This text should be contained by the blue square. | |
37 </div> | |
38 </body> | |
39 </html> | |
OLD | NEW |