hi @Michelle_Western that is a correct behaviour because of position absolute
and aligning to bottom. This will not even work with use of pseudo classes like ::before
to ::after
. Just think about that.
I have recently posted response for identical issue so feel free to look into if one of these solutions solve your request.
EDIT: another way can be use box-shadow: inset ...