tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

flexbox_rtl-order.html (1102B)


      1 <!DOCTYPE html>
      2 <title>flexbox | flex-flow: column-reverse wrap-reverse; order | rtl</title>
      3 <link rel="author" href="http://opera.com" title="Opera Software">
      4 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property">
      5 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column-reverse">
      6 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#valdef-flex-wrap-wrap-reverse">
      7 <link rel="match" href="flexbox_rtl-order-ref.html">
      8 <style>
      9 div {
     10 background: blue;
     11 margin: 1em 0;
     12 border: 1px solid black;
     13 width: 20em;
     14 height: 8em;
     15 direction: rtl;
     16 
     17 display: flex;
     18 flex-flow: column-reverse wrap-reverse;
     19 }
     20 span {
     21 background: white;
     22 margin: 1em;
     23 width: 8em;
     24 height: 1.5em;
     25 display: inline-block;
     26 }
     27 .one {
     28 background: pink;
     29 order: 4;
     30 }
     31 .two {
     32 background: yellow;
     33 order: 3;
     34 }
     35 .three {
     36 background: black;
     37 color: white;
     38 order: 2;
     39 }
     40 .four {
     41 background: fuchsia;
     42 color: white;
     43 order: 1;
     44 }
     45 </style>
     46 
     47 <div>
     48 <span class="one">one</span>
     49 <span class="two">two</span>
     50 <span class="three">three</span>
     51 <span class="four">four</span>
     52 </div>