Good Day
i have this simple html and i want to move href from html to css
<body>
<a href="http://www.xxx.com">xxx</a>
</body
what i want is to delete href from html and use it instead in css in any way:
<body>
<p>xxx</p>
</body>
the css will be
p {
"http://www.xxx.com"
}
what should i use in p{ } (is it url or link or … )? is it possible ?
Not sure that this can be done by static CSS.
Can be done with jQuery, try this:
Live demo: http://jsfiddle.net/keaukraine/Cmxx9/
If you really desperately need to implement this with CSS, you can try to figure out how to make use of CSS
contentproperty. Read more about this here: http://css-tricks.com/css-content/