All Questions
Tagged with stacking-context pseudo-element
1
question
0
votes
1
answer
30
views
::before Pseudo-element Not Displaying Below Form Despite z-index -1 Setting [duplicate]
I have a problem where an element created with ::before is not appearing below a form. Even after setting z-index to -1, it doesn't work. How can I fix this issue?
.form::before {
content: "";
...