<!doctype html>
<html>
	<head>
		<title>Float</title>
		<link href="/assets/reset.css" rel="stylesheet">
		<link href="setup.css" rel="stylesheet">
		<link href="style.css" rel="stylesheet">
	</head>
	<body>
		<section>
			<aside>
				<p>This is an aside element.</p>
			</aside>
			<p>This is some text in the first element. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Arcu risus quis varius quam. Egestas fringilla phasellus faucibus scelerisque eleifend donec. </p>
		</section>
		<section>
			<aside>
					<p>And another aside here too, with a lot more text in it.</p>
			</aside>
			<p>And some more in the second element. Ut etiam sit amet nisl. Sed libero enim sed faucibus turpis in eu. Congue nisi vitae suscipit tellus mauris. Nisi est sit amet facilisis magna etiam tempor orci. Leo urna molestie at elementum. Morbi tristique senectus et netus et malesuada.</p>
		</section>
		<section>
			<p>And a third one, too.</p>
		</section>
	</body>
</html>
/* Same as before. */
body {
	font-family: sans-serif;
	padding: 20px;
}

section {
	background-color: deepskyblue;
	border-top: solid black 4px;
	padding: 10px;
}

section:not(:first-child) { margin-top: 20px; }
aside {
	background-color: gold;
	float: left;
	margin-right: 10px;
	padding: 10px;
	width: 100px;
}

section:nth-child(2) aside {
	float: right;
	margin-left: 10px;
	margin-right: initial;
}