I have a elements tree that looks similar to this one:
<div class="one">
<div class="two">
<div class="three">...</div>
::after
</div>
</div>
Is it possible to select this '::after' element with xpath / css selectors?
I have a elements tree that looks similar to this one:
<div class="one">
<div class="two">
<div class="three">...</div>
::after
</div>
</div>
Is it possible to select this '::after' element with xpath / css selectors?
.three::after{
color:red;
content:"text";
}
<div class="one">
<div class="two">
<div class="three"></div>
</div>
</div>
You can do it like this,
<style>
.three::after{
//your styles
}
</style>