tor-browser

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

grid-lanes-track-sizing-overflow-right-side-ref.html (845B)


      1 <!DOCTYPE html>
      2 <html>
      3 
      4 <head>
      5    <meta charset="utf-8">
      6    <title>CSS Grid Test: Verify correct behavior of track-sizing</title>
      7    <link rel="author" title="Brandon Stewart" href="mailto:brandonstewart@apple.com">
      8    <link rel="help" href="https://drafts.csswg.org/css-grid-3/#track-sizing">
      9 </head>
     10 
     11 <body>
     12 <style>
     13 grid {
     14  display: grid;
     15  grid-template-columns: 1fr 100px;
     16  grid-template-rows: 1fr 50px;
     17  width: 300px;
     18  height: 100px;
     19 }
     20 
     21 box1 {
     22    height: 50px;
     23    background-color: red;
     24 }
     25 
     26 box2 {
     27    height: 50px;
     28    width: 50px;
     29    background-color: blue;
     30 }
     31 
     32 box3 {
     33    height: 50px;
     34    background-color: green;
     35 }
     36 
     37 box4 {
     38    width: 100px;
     39    height: 50px;
     40    background-color: purple;
     41    z-index: 1;
     42 }
     43 
     44 </style>
     45 
     46 <grid>
     47    <box1>1</box1>
     48    <box2>2</box2>
     49    <box3>3</box3>
     50    <box4>4</box4>
     51 </grid>
     52 
     53 </body>
     54 </html>