blob: 8f9929f97dca9a5ddb7a08e42697c692dec4db2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!DOCTYPE html>
<html>
<head>
<title>CSS Grid: Reference for grid-template-rows interpolation</title>
<style>
.grid {
display: grid;
width: 400px;
height: 400px;
grid-gap: 10px;
grid-template-rows: 60px 1fr;
}
span { border: 1px solid; }
</style>
</head>
<body>
<div class="grid">
<span>row1</span>
<span>row2</span>
</div>
</body>
</html>
|