<h1>Fractions of fractions</h1>
	<p>We might expect that each column would be half the available space – but instead the result is the same as if they were using 1fr!</p>
<div class="grid">
	<div class="item"></div>
	<div class="item"></div>
	<div class="item"></div>
* {
	box-sizing: border-box;

body {
	margin: 0;

header {
	padding: 1rem;

.grid {
	display: grid;
	grid-template-columns: repeat(3, 0.5fr);
	grid-template-rows: 300px;
	column-gap: 40px;

.item {
	background-color: blue;

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.