JSFiddle - React, Tailwind, and code Playground

by garmashnikolay

HTML

<div class="m-box">
    <div class="f">First</div>
    <div class="s">Second</div>
    <div class="t">Third</div>
</div>

SCSS

.m-box{
    display: -webkit-flex;
    display: flex;
    width: 200px;
    border: 1px solid #000;
    -webkit-flex-direction: row;
    -webkit-justify-content: space-around;
    -webkit-flex-wrap: wrap;
    div{
        width: 33px;
        border: 1px solid blue;
        overflow: hidden;
        text-overflow: ellipsis; 
    }
    .f{
      -webkit-order: 1;
    }
    .s{
      -webkit-order: 1;        
    }
    .t{
      -webkit-order: 1;        
    }
}