简体   繁体   English

使锚点悬停看起来像荧光笔文本的CSS

[英]CSS to make anchor hovers look like highlighter text

I've been struggling with this for days and just can't get it. 我已经为此苦苦挣扎了好几天了,但还是没办法。 Is it possible to get the hover state of a link to look like the attached picture? 是否可以使链接的悬停状态看起来像所附图片? So it appears ilke a highlighter was used on the text and have the white space between the lines 因此,似乎在文本上使用了荧光笔,并且各行之间有空白

http://krwilliams.com/lab/test/highlighterlinks.jpg http://krwilliams.com/lab/test/highlighterlinks.jpg

sorry it wouldn't let me attach the image. 抱歉,它不会让我附加图像。

Here is the closest I can get http://krwilliams.com/lab/test/resources.html 这是我能得到的最接近的http://krwilliams.com/lab/test/resources.html

在您的示例中,关闭A标签上的float:left

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM