Hi, I am trying to create an isometric tile and I would like to give it kind of 3d look.
Something like this:
These are two divs stacked on top of each other.
However I wanted to achieve the same using ::after pseudo element, problem is after element is displayed on top of its parent and I have no idea why it’s not following z-index.
See following codepen: https://codepen.io/Spell2az/pen/XVMLMZ ,