content可用于在链接后的括号内加上网址: 登录后复制 <!DOCTYPE html> <html> <head> <style> a:after {content: " (" attr(href) ")";} </style> </head> <body> <p><a href="">小白工作室</a></p> </body> </html> 1.2.3.4.5.6.7.8.9.10.11. 作者:꧁执笔小白꧂ 原创作者: u_16822845 转载于: https://blog.51cto.com/u_16822845/11676124