JSFiddle - React, Tailwind, and code Playground

by mauricederegt

HTML

<div class="container">
    <div class="black"></div>
    <div class="grey">1 Maurice</div>
    <div class="holder">
        <div class="blue">0<br />10:20</div>
        <div class="red">***</div>
        <div class="yellow">23456</div>
    </div>
</div>

CSS

.container {
    float: left;
    width: 162px;
    padding: 3px;
    background-color:  #AAA;
    border-radius: 3px;
    
}

.holder {
    float: left;
    width: 108px;
    text-align: center;
}

.black {
    width: 50px;
    height: 50px; 
    background-color:  #000;
    float: left;
    margin: 2px;
}

.grey {
    width: 104px;
    height: 16px; 
    background-color: pink;
    float: left;
    margin: 0 2px 0 2px;
}

.red {
    width: 50px;
    height: 16px; 
    background-color:  #FF0000;
    float: left;
    margin: 2px 2px 0 2px;
    border-radius: 3px;
    
}

.yellow {
    width: 50px;
    height: 16px; 
    background-color:  #FF1;
    float: left;
    margin: 2px;
    border-radius: 3px;
    
}

.blue {
    width: 50px;
    height: 34px; 
    background-color: #11D;
    float: right;
    margin: 2px;
    border-radius: 3px;
}