OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <meta charset="utf-8"> |
| 3 <title>CSS Logical Properties: {max-,min-}block-size vertical-lr</title> |
| 4 <link rel="help" href="https://drafts.csswg.org/css-logical-props/"> |
| 5 <link rel="help" href="https://drafts.csswg.org/css-writing-modes/#logical-to-ph
ysical"> |
| 6 |
| 7 <style> |
| 8 div { |
| 9 border: 1px solid #000; |
| 10 writing-mode: vertical-lr; |
| 11 } |
| 12 #div1 { |
| 13 width: 40px; |
| 14 min-width: 50px; |
| 15 max-width: 100px; |
| 16 } |
| 17 #div2 { |
| 18 width: 100px; |
| 19 min-width: 50px; |
| 20 max-width: 100px; |
| 21 } |
| 22 #div3 { |
| 23 width: 120px; |
| 24 min-width: 50px; |
| 25 max-width: 100px; |
| 26 } |
| 27 |
| 28 p { |
| 29 border: 1px solid #000; |
| 30 writing-mode: vertical-lr; |
| 31 } |
| 32 #p1 { |
| 33 width: 50px; |
| 34 } |
| 35 #p2 { |
| 36 width: 100px; |
| 37 } |
| 38 </style> |
| 39 |
| 40 <div id="div1">Hello, this is a test</div> |
| 41 <div id="div2">Hello, this is a test</div> |
| 42 <div id="div3">Hello, this is a test</div> |
| 43 |
| 44 <p id="p1">Hello, this is a test</div> |
| 45 <p id="p2">Hello, this is a test</div> |
OLD | NEW |