Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<link href="../support/flexbox.css" rel="stylesheet">
<style>
body {
margin: 0;
}
</style>
<body>
<div class='flexbox column align-items-flex-start'>
<h1>This text</h1>
<p>should be left aligned.</p>
</div>
<div style='margin-left: auto; width: max-content;' class='flexbox column align-items-flex-start'>
<h1>This text</h1>
<p>should be right aligned.</p>
</div>
</body>
</html>