Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE HTML>
<html><head>
<meta charset="utf-8">
<title>CSS Grid Test: The subgrid is always stretched in its subgridded dimension(s)</title>
<link rel="author" title="Matt Woodrow" href="mailto:mattwoodrow@apple.com">
<style>
body {
margin: 0;
}
.grid {
display: inline-block;
width: 100px;
height: 100px;
background-color: blue;
}
</style>
</head>
<body>
<div class="grid"></div>
<div class="grid"></div>
<div class="grid"></div>
<div class="grid"></div>
<div class="grid"></div>
<div class="grid"></div>
<div class="grid"></div>
<div class="grid"></div>
<br>
<div class="grid"></div>
<div class="grid"></div>
<div class="grid"></div>
<div class="grid"></div>
<div class="grid"></div>
<div class="grid"></div>
<div class="grid"></div>
<div class="grid"></div>
</body>
</html>