I am trying to style a element with the :after
pseudo element CSS selector
#element {
position: relative;
z-index: 1;
}
#element::after {
position:relative;
z-index: 0;
content: " ";
position: absolute;
width: 100px;
height: 100px;
}
It seems like the ::after
element can not be lower then the element itself.
Is there a way to have the pseudo element lower then the element itself?