Add HTML code using CSS -
html
<div id="mydiv"></div>
i want add html code div (see following result want) using only css
<div id="mydiv"><a href="#">lorem</a></div>
i think :after , :before not helpful here!
css not html. not possible achieve css not markup language.
just add can add content not element using :before or :after
pseudo-element. refer specs
Comments
Post a Comment