1 2 3 4 5 6 7 |
.ModalCarrot::before { content:''; background: ('blackCarrot.png');/*url of image*/ height: 16px;/*height of image*/ width: 33px;/*width of image*/ position: absolute; } |
http://stackoverflow.com/questions/6668577/using-before-css-pseudo-element-to-add-image-to-modal