tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

orthogonal-positioned-grid-items-007-ref.html (906B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Grid Layout Test: Orthogonal positioned grid items reference file</title>
      4 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
      5 <style>
      6 #grid {
      7  display: grid;
      8  grid: 150px 100px / 200px 300px;
      9  align-items: start;
     10  margin: 1px 2px 3px 4px;
     11  padding: 20px 15px 10px 5px;
     12  border-width: 9px 3px 12px 6px;
     13  border-style: solid;
     14  width: 550px;
     15  height: 400px;
     16 }
     17 
     18 #grid > div {
     19  writing-mode: vertical-lr;
     20 }
     21 
     22 #firstItem {
     23  background: magenta;
     24 }
     25 
     26 #secondItem {
     27  background: cyan;
     28 }
     29 
     30 #thirdItem {
     31  background: yellow;
     32 }
     33 
     34 #fourthItem {
     35  background: lime;
     36 }
     37 </style>
     38 
     39 <p>The test passes if it has the same output than the reference.</p>
     40 
     41 <div id="grid">
     42  <div id="firstItem">First item</div>
     43  <div id="secondItem">Second item</div>
     44  <div id="thirdItem">Third item</div>
     45  <div id="fourthItem">Fourth item</div>
     46 </div>