JSFiddle - React, Tailwind, and code Playground

by Dineshkani

HTML

<div id="hello">
    <span id="desc">Examples</span>
</div>
<span>In here the css search only for the span which is next to the div</span><br/>
<span>You can now see the difference between + and ~</span>

CSS

div ~ span{
    font-size: 30px;
}