<!doctype html>
<html>
	<head>
		<title>Border</title>
		<link href="/assets/reset.css" rel="stylesheet">
		<link href="style.css" rel="stylesheet">
	</head>
	<body>
		<section>
			<p>This is some text in the first element.</p>
			<p>There can be multiple elements within it, maybe even that wrap to multiple lines.</p>
		</section>
		<section>
			<p>And some more in the second element.</p>
		</section>
		<section>
			<p>Then a third one, too.</p>
		</section>
	</body>
</html>
section { border-top: solid black 4px; }

section {
	border-top-color: black; /* Non-shorthand, same thing! */
	border-top-style: solid;
	border-top-width: 4px;
}

/* Same as before. */
body {
	font-family: sans-serif;
	padding: 20px;
}

section { padding: 10px; }

section:nth-child(1) { background-color: deepskyblue; }
section:nth-child(2) { background-color: gold; }
section:nth-child(3) { background-color: tomato; }