summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/reference/align-baseline-ref.html
blob: d1c579045ef64d5f25e3f440b0f93a46ecdf2dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!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>