JSFiddle - React, Tailwind, and code Playground

by dife

HTML

<header>
   <div class="logo">LOGO</div>
    <div class="menu">MENU</div>
    <div class="pesquisa">Pesquisa</div>
</header>

CSS

header{width: 100%; height: 50px; background: blue; position: relative;}
.logo{
  width: 200px;
  height: 50px;
  background: red;
  display: inline-block;
}

.menu{
  width: 200px;
  height: 50px;
  background: green;
  display: inline-block;
}

.pesquisa{
  width: 200px;
  height: 50px;
  background: yellow;
  display: inline-block;
}