Don't be surprised if you see some kind of underlined link in the picture. Because it’s actually very simple and you can do it, too. Check out the actual effect here http://5key.net/demo/hyperlink-underline ![]() First, let's talk about how to get this colored underline. Maybe you have guessed it, a gradient background image. That’s right! It’s the picture below. ![]() Take a look at the CSS below. I think you should have understood the effect of the entire link change. If it's not too clear. Let's first understand the concept of sliding door body { font-size:14px; font-family: Helvetica, sans-serif; padding:10px; margin:0px; } h1{margin:0; padding:0; font-size:16px; } p{padding:20px 0 0 0;} a{ *padding-bottom:1px; text-decoration:none; } a:link{ color:#06F; background: url(1.gif); background-repeat: repeat-x; background-position: 0 16px; } a:visited{ color:#06f; background-image: url(1.gif); background-repeat: repeat-x; background-position: 0 16px; } a:hover{ color:#039; background:url(1.gif) repeat-x 0 bottom; } |
<<: How to use shell to perform batch operations on multiple servers
Table of contents 1. charAt grammar parameter ind...
1. 85% of ads go unread <br />Interpretatio...
SSH stands for Secure Shell, which is a secure tr...
Table of contents 1. parse 1.1 Rules for intercep...
Table of contents Diffing Algorithm Layer-by-laye...
Table of contents Overview Subqueries Subquery Cl...
Introduction: Sometimes, in order to develop a pr...
The experimental environment is as follows Here y...
1. Install Apache $ sudo apt update && su...
MySQL dynamically modify replication filters Let ...
Install MySQL 8.0 docker run -p 63306:3306 -e MYS...
At the beginning of this article, I would like to ...
Table of contents 1. Project construction 2: Dire...
Preface During the interview, many interviewers m...
I recently made a file system and found that ther...