Lets say I have:
<div class="container">
<p>blah blah blah</p>
</div>
would I be able to use 2 :before pseudo classes in that same container div?
like so:
.container:before{
content: " ";
position: absolute;
top: 0;
left: 0;
width: 31%;
height: 61%;
background-color: black;
}
.container:before{
content: " A String ";
position: absolute;
top: 0;
left: 0;
background-color: black;
}
Ignore the actual css but the question here is would that be valid inserting 2 pseudo classes before that container div? and if not is there a way that it can be?