CSS to display the image wihout using img tag in HTML -
i'm new css. want place image before chapter title. have arrow image , want place image before chapter name, using css , without using html <img>
tag.
my code:
.body > .ce_label:before{ background: url("arrow.png"); }
<div id="body-proof" class="body top-most bottom-most"> <div id="opt_id_4224-proof" class="ce_label"> chapter<span class="tb"></span>11<span class="te"></span> </div> </div>
i'm not getting correct output design. can me fix this?
you can use below css this
.ce_label:before{ content: url(arrow.png); }
Comments
Post a Comment