Adding image with CSS instead of HTML

PHOTO EMBED

Sat Jul 16 2022 02:54:23 GMT+0000 (Coordinated Universal Time)

Saved by @BeadNOff #addimage #image #addimagecss #cssimagecode

<!doctype html>
<style>
.MyClass123{
    content:url("http://imgur.com/SZ8Cm.jpg");
}
</style>
The image'll appear if your browser supports <code>content:url</code>:

<br><img class="MyClass123"/>
content_copyCOPY

allows me to add images via CSS coding instead of with <img src="..."> tag.

http://jsfiddle.net/3BRN7/406/