JSFiddle - React, Tailwind, and code Playground

HTML

<div class="outer">
    <div>
        <div>
            <div class="inner">hello</div>
        </div>
    </div>
</div>

CSS

.outer{min-height: 100px; background:red}
.inner { background: yellow; }
.outer * { min-height:inherit }