OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <meta charset="utf-8"> |
| 3 <title>CSS Logical Properties: {max-,min-}inline-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 #table1 { border: 1px solid #000; display: table;} |
| 9 #table1_column { |
| 10 width: 40px; |
| 11 min-width: 50px; |
| 12 max-width: 100px; |
| 13 height: 100px; |
| 14 background-color: red; |
| 15 display: table-cell; |
| 16 } |
| 17 #table2 { border: 1px solid #000; display: table;} |
| 18 #table2_column { |
| 19 width: 100px; |
| 20 min-width: 50px; |
| 21 max-width: 100px; |
| 22 height: 100px; |
| 23 background-color: blue; |
| 24 display: table-cell; |
| 25 } |
| 26 #table3 { border: 1px solid #000; display: table;} |
| 27 #table3_column { |
| 28 width: 120px; |
| 29 min-width: 50px; |
| 30 max-width: 100px; |
| 31 height: 100px; |
| 32 background-color: green; |
| 33 display: table-cell; |
| 34 } |
| 35 |
| 36 #div1 { |
| 37 width: 40px; |
| 38 min-width: 50px; |
| 39 max-width: 100px; |
| 40 border: 1px solid #000; |
| 41 } |
| 42 #div2 { |
| 43 width: 100px; |
| 44 min-width: 50px; |
| 45 max-width: 100px; |
| 46 border: 1px solid #000; |
| 47 } |
| 48 #div3 { |
| 49 width: 120px; |
| 50 min-width: 50px; |
| 51 max-width: 100px; |
| 52 border: 1px solid #000; |
| 53 } |
| 54 </style> |
| 55 |
| 56 <div id="table1"> |
| 57 <div id="table1_column"></div> |
| 58 </div> |
| 59 <div id="table2"> |
| 60 <div id="table2_column"></div> |
| 61 </div> |
| 62 <div id="table3"> |
| 63 <div id="table3_column"></div> |
| 64 </div> |
| 65 |
| 66 <div id="div1">Hello, this is a test</div> |
| 67 <div id="div2">Hello, this is a test</div> |
| 68 <div id="div3">Hello, this is a test</div> |
OLD | NEW |