summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input/grid/auto-fill.html
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibWeb/Layout/input/grid/auto-fill.html')
-rw-r--r--Tests/LibWeb/Layout/input/grid/auto-fill.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/Tests/LibWeb/Layout/input/grid/auto-fill.html b/Tests/LibWeb/Layout/input/grid/auto-fill.html
new file mode 100644
index 0000000000..93351882ff
--- /dev/null
+++ b/Tests/LibWeb/Layout/input/grid/auto-fill.html
@@ -0,0 +1,22 @@
+<style>
+ body {
+ font-family: 'SerenitySans';
+ }
+
+ .grid-container {
+ display: grid;
+ background-color: lightsalmon;
+ }
+
+ .grid-item {
+ background-color: lightblue;
+ }
+</style>
+
+<div class="grid-container" style="
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
+ ">
+ <div class="grid-item">1</div>
+ <div class="grid-item">2</div>
+ <div class="grid-item">3</div>
+</div> \ No newline at end of file