JSFiddle - React, Tailwind, and code Playground

HTML

<div class="container">
    <div class="filler1">I'm a block level element!</div>
</div>
<div class="container">
    <a class="filler2" href="#">I'm an inline element!</a>
</div>
<div class="container">
    <div class="filler3">I'm a floated element!</div>
</div>
<div class="container2">
    <div class="filler4">I'm an absolutely positioned element!</div>
</div>

CSS

.container { background: #e0e0e0; border: 1px dashed #c0c0c0; height: 50px; margin-bottom: 10px; }
.filler1 { background: #ffe0e0; border: 1px dashed #ffc0c0; }
.filler2 { background: #ffe0e0; border: 1px dashed #ffc0c0; display: block; }
.filler3 { background: #ffe0e0;  border: 1px dashed #ffc0c0; float: left; width: 100%; }
.container2 { background: #e0e0e0; border: 1px dashed #c0c0c0; height: 50px; margin-bottom: 10px; position: relative; }
.filler4 { background: #ffe0e0;  border: 1px dashed #ffc0c0; position: absolute; width: 100%; }