Pseudo element doesn't apply to all instances of the element

I’m trying to style some boxes in my page but even though there are multiple boxes with the same class, the pseudo-element only applies to one of the elements. How can i fix this?


The pseudo elements are there for all boxes, but they’re overlapping (sitting on top of each other). Adding position:relative to your .box-btns should fix it.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.