Why can't we declare nested pseudo-elements like below,
.a{...}
.a:before{...}
.a:before:before{...} /* This */
.a.after{...}
.a:after:after{...} /* And this */
Is there any alternate solution to this scenario?
Why can't we declare nested pseudo-elements like below,
.a{...}
.a:before{...}
.a:before:before{...} /* This */
.a.after{...}
.a:after:after{...} /* And this */
Is there any alternate solution to this scenario?