JSFiddle - React, Tailwind, and code Playground

by QMaster

HTML

<header id="headerr" class="header2">

        <!--<div class="content-wrapper">-->

            
                 <div style="display: inline;">
                        <a class="NSLink" href="/ViraBase/"><img alt="Logo"  class="headerIcon" src="http://viraapp.com/Images/OwnerLogo8.png"></a>
                        </div>
                
                     <div class="firstContent">
                       
                    <a class="aSimple" href="/ViraBase/" style="margin-left: 48px;">انتشارات نمونه</a>
            </div>
    

            
                <div class="secondContent">

                <input class="SearchBox" id="tb_Search" name="tb_Search" placeholder="جستجو" value="" type="text">
                </div>
    
                    <div class="thirdContent">
                   
                
                    <a class="aSimple" id="btn_UserManagement">[email protected]</a>
                    
        </div>
                    <div style="display: inline;">
<img id="img_tab" src="http://viraapp.com/Images/Icons/Sign/UserOffline1.png" alt="Sign Status" class="headerIcon">
                        </div>
            

            
            <!--</div>-->
    </header>

CSS

html, body {
    direction: rtl;
    font-family: 'Times New Roman';
}

#header {
    height: 48px;
    background-color: #365D98;
    color: #F3F3F4;
    width: 100%;
    min-width: 720px;
    padding: 0px;
    margin: 0px;
    z-index: 999;
    clear: both;
    display: block;
    text-align: center;
    top: 0px;
    position: fixed;
}

header .content-wrapper {
    display: inline;
    vertical-align: middle;
    line-height: normal;
    background-color: yellow;
}

.SearchBox {
    border: 0px solid #1C2D49;
    height: 48px;
    margin-top: 8px;
    padding-right: 8px;
    
    background-color: #2B4A7A;
    color: #F3F3F4;
    width: 560px;
    min-width: : 560px;
    max-width: 560px;
    
}

.aSimple {
    color: #F3F3F4;
    background-color: transparent;
    outline: medium none;
    text-decoration: none;
    cursor: pointer;
    vertical-align: top;
    font-size: 18px;
    font-weight: normal;
}



.header2{
    
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;

    
    /*justify-content: center;*/
    
    background-color: blue;
    min-width: 1280px;
    height: 80px;
    line-height: 80px;
    
    /*
    align-self: right; 
    
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    */
    
    z-index: 999;
    
    text-align: center;
    top: 0px;
    position: static;
}

.header2 .headerIcon{
    flex-grow: 1;    
    background: gray;
    min-width: 48px;  
    max-width: 48px;  
    height: 48px;
    vertical-align: middle;
}

.header2 .firstContent {
    
    flex-grow:...