CSS After Element to insert mailto link?

后端 未结 5 1493
臣服心动
臣服心动 2020-12-03 22:05

I\'m attempting to display a mailto link. Is that possible with CSS?

html

  • <
    5条回答
    •  囚心锁ツ
      2020-12-03 22:28

      You can't add html to the content in css. Unless you escape everything.

      http://jsfiddle.net/PDTng/

      Alternatively, you could use jQuery and use .html(), eg:

      http://jsfiddle.net/PDTng/1/

    提交回复
    热议问题