before and after css for images code example
Example: add image ::before css
element::after{
content:url('blackCarrot.png');
position:relative; /*or absolute*/
z-index:100000;
left:-50px;
top:10px;
}
element::after{
content:url('blackCarrot.png');
position:relative; /*or absolute*/
z-index:100000;
left:-50px;
top:10px;
}