3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
8 <title>Reference: overflow:hidden/auto
</title>
9 <link rel=
"author" title=
"Mats Palmgren" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=1227162">
10 <style type=
"text/css">
12 color:black
; background-color:white
; font-size:16px; padding:0; margin:0;
18 grid-template-columns: repeat
(3, 8px);
19 border: 1px solid black
;
25 .grid :first-child { background:lime
; }
26 .grid :nth-child(2n) { border-left:1px solid black
; }
28 x
{ background: grey
; width:7px; height:5px; }
29 y
{ background: blue
; width:7px; height:5px; }
30 z
{ background: green
; width:7px; height:5px; }
42 <div class=
"grid" style=
"width:40px; justify-content:center; align-content:center;">
48 <div class=
"grid" style=
"width:40px; justify-content:start; align-content:end;">
54 <div class=
"grid" style=
"width:40px; height:40px; justify-content:center; align-content:center;">
60 <div class=
"grid" style=
"height:40px; justify-content:start; align-content:end;">
66 <div class=
"grid" style=
"width:8px; grid-template-columns: repeat(1, 8px);">
72 <div class=
"grid" style=
"height:8px; grid-template-rows: repeat(1, 5px);">
76 <div class=
"grid" style=
"width:8px; height:8px; grid-template-columns: 8px; grid-template-rows: 5px;">
80 <div class=
"grid" style=
"width:8px; height:8px; justify-content:center; grid-template-columns: 8px; grid-template-rows: 5px;">
81 <x style=
"background:grey; border-left:1px solid black;"></x>
84 <div class=
"grid" style=
"width:8px; height:8px; align-content:center;">
85 <y style=
"background:blue; border-left:1px solid black;"></y>
88 <div class=
"grid" style=
"grid-template-columns: repeat(3, 12px); justify-items:end;">
94 <div class=
"grid" style=
"grid-auto-rows: 10px;; align-items:end;">
100 <div class=
"grid" style=
"grid-auto-flow:column; grid-template-rows: repeat(3, 5px);">
101 <x></x><x></x><x></x>
102 <y></y><y></y><y></y>
103 <z></z><z></z><z></z>
106 <div class=
"grid" style=
"grid-auto-columns: 12px; grid-template-columns: none; ">
107 <x></x><x></x><x></x>
108 <y></y><y></y><y></y>
109 <z></z><z></z><z></z>