JSFiddle - React, Tailwind, and code Playground

HTML

<body>
    <header></header>
    <h2>Title</h2>
</body>

CSS

html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
}

header {
    float: left;
    background: black;
    height: 100%;
    width: 150px;
}