mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
33 lines
748 B
HTML
33 lines
748 B
HTML
<!DOCTYPE html>
|
|
<title>flexbox | flex-direction: column-reverse | rtl</title>
|
|
<link rel="author" href="http://opera.com" title="Opera Software">
|
|
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-direction">
|
|
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column-reverse">
|
|
<link rel="match" href="flexbox_rtl-direction-ref.html">
|
|
<style>
|
|
div {
|
|
background: blue;
|
|
margin: 1em 0;
|
|
border: 1px solid black;
|
|
direction: rtl;
|
|
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
}
|
|
span {
|
|
background: white;
|
|
margin: 1em;
|
|
width: 8em;
|
|
display: inline-block;
|
|
}
|
|
.test {
|
|
background: #ffcc00;
|
|
}
|
|
</style>
|
|
|
|
<div>
|
|
<span class="test">damer</span>
|
|
<span>damer</span>
|
|
<span>damer</span>
|
|
<span>damer</span>
|
|
</div>
|