<!doctype html>
<html lang="en">
	<head>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link href="/assets/reset.css" rel="stylesheet">
		<link href="setup.css" rel="stylesheet">
		<link href="style.css" rel="stylesheet">
	</head>
	<body>
		<section>
			<h2>Default</h2>
			<p>This is just another paragraph again, so we have some text to wrap.</p>
		</section>
		<section>
			<h2>Balanced</h2>
			<p>This is just another paragraph again, so we have some text to wrap.</p>
		</section>
	</body>
</html>

		
index.html
			body {
	--base: 1rem;

	display: grid;
	font-family: 'Helvetica', sans-serif;
	gap: calc(2 * var(--base));
	padding: var(--base);
}

section {
	background-color: gold;
	padding: calc(var(--base) / 2);
}

h2 { font-size: calc(var(--base) * 3); }

		
setup.css
			section { text-align: center; }

section:nth-child(2) { text-wrap: balance; }

		
style.css