how to add pseudo element to image in css code example Example: css content image DIV:before { content: url(http://name.png); }