Implements basic CSS Grid with explicit and auto-placement, fr/px/auto track sizing, row-gap/column-gap, grid-column/grid-row placement (line numbers and span), justify-items alignment, and display: inline-grid. Splits the former single `gap` property into `row_gap`/`column_gap` throughout the codebase. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
23 lines
325 B
HTML
23 lines
325 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: 100px 200px 100px;
|
|
}
|
|
.item {
|
|
height: 50px;
|
|
background-color: #eee;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="grid">
|
|
<div class="item">A</div>
|
|
<div class="item">B</div>
|
|
<div class="item">C</div>
|
|
</div>
|
|
</body>
|
|
</html>
|