using ::before to insert an image code example Example: css content image DIV:before { content: url(http://name.png); }