How to apply style before child element with some specific class? What i want is something like:
<div class="parent">
<div></div>
<!-- Here should be pseudo element -->
<div class="apply-me"></div>
<div></div>
</div>
here style should be applied to :before pseudo element of div with class "apply-me".
Update: I want to apply styles before div, not before content of the div. This is not what I want to get in final:
<div class="parent">
<div></div>
<div class="apply-me">
::before
<span>Content</span>
</div>
<div></div>
</div>