OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <meta charset="utf-8"> |
| 3 <title>CSS Logical Properties: {max-,min-}block-size</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 } |
| 11 #div1 { |
| 12 height: 40px; |
| 13 min-height: 50px; |
| 14 max-height: 100px; |
| 15 } |
| 16 #div2 { |
| 17 height: 100px; |
| 18 min-height: 50px; |
| 19 max-height: 100px; |
| 20 } |
| 21 #div3 { |
| 22 height: 120px; |
| 23 min-height: 50px; |
| 24 max-height: 100px; |
| 25 } |
| 26 |
| 27 p { |
| 28 border: 1px solid #000; |
| 29 } |
| 30 #p1 { |
| 31 height: 50px; |
| 32 } |
| 33 #p2 { |
| 34 height: 100px; |
| 35 } |
| 36 </style> |
| 37 |
| 38 <div id="div1">Hello, this is a test</div> |
| 39 <div id="div2">Hello, this is a test</div> |
| 40 <div id="div3">Hello, this is a test</div> |
| 41 |
| 42 <p id="p1">Hello, this is a test</div> |
| 43 <p id="p2">Hello, this is a test</div> |
OLD | NEW |