Created
February 2, 2016 14:23
-
-
Save DmitryMyadzelets/9640b2a6ea4c9e1b1a5f to your computer and use it in GitHub Desktop.
Hyperlink decoration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
a:link.new-link { | |
text-decoration: none; | |
color: inherit; | |
box-shadow: inset 0 -0.5em 0 yellow; | |
} | |
</style> | |
<p>Lorem ipsum dolor sit amet, <a href="">consectetuer</a> adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis <a href="" class="new-link">parturient montes</a>, nascetur ridiculus mus. Donec qu</p> | |
https://jsfiddle.net/6nd619uo/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment