<!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>None</h2>
			<p>This is a paragraph, so we have some text to overflow our container. Another line, with some verbose, exquisite, and unnecessarily and extraordinarily long, English words.</p>
		</section>
		<section>
			<h2>Auto</h2>
			<p>This is a paragraph, so we have some text to overflow our container. Another line, with some unnecessary and extraordinarily long, English words.</p>
		</section>
		<section>
			<h2>Manual</h2>
			<p>This is a paragraph, so we have some text to overflow our container. Another line, with some unnecessary and extra&shy;ordinarily long, English words.</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:nth-child(1) {
	hyphens: none; /* Default. */
}

section:nth-child(2) {
	hyphens: auto; /* Browser decides (based on `lang`). */
}

section:nth-child(3) {
	hyphens: manual; /* Specify with `&shy;` */
}

		
style.css