The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Text on div with image!
Hi everyone,
please take a look here: http://codepen.io/Pedram/pen/BxCoq
i want to place “x” on image, but i couldn’t is it possible? can anyone help me out?
p.s: i know it’s possible with Background image, but i can’t use it for this one.
Simple:
.fx > span { color: white; position: absolute; z-index: 1; }
added color for readability.
Thanks @CrocoDillon, it’s nice, even better than this code i just found a minute ago:
http://stackoverflow.com/questions/4154177/css-boxtext-over-image