<!doctype html>
<html>
	<head>
		<title>Display block</title>
		<link href="/assets/reset.css" rel="stylesheet">
		<link href="setup.css" rel="stylesheet">
		<link href="style.css" rel="stylesheet">
	</head>
	<body>
		<section>
			<p><a href="#">Links are usually inline.</a> This is some text in the first element.</p>
		</section>
		<section>
			<p><a href="#">But you’ll often want them block →</a> And some more in the second element.</p>
		</section>
		<section>
			<p>Then a third one, too.</p>
		</section>
	</body>
</html>

		
index.html
			/* Same as before. */
body {
	font-family: sans-serif;
	padding: 1rem;
}

section {
	background-color: deepskyblue;
	border-block-start: solid black 0.2rem;
	padding: 1rem;
}

section:not(:first-child) { margin-block-start: 1rem; }

		
setup.css
			a {
	background-color: gold;
	text-decoration: underline;
}

section:nth-child(2) a {
	display: block;
	margin-block-end: 1rem;
	padding: 1rem;
	text-decoration: none;
}

		
style.css