Pure CSS enables double-click link jump, css double-click link jump
<! DOCTYPE html>
<Html>
<Head>
<Title> double-click the link. </title>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gbk"/>
<Style type = "text/css">
. Test3 span {
Position: relative;
}
. Test3 span {
Position: relative;
Z-index: 2;
}
. Test3 span a: hover,. test3 span a: active {
Z-index: 4;
}
. Test3 span input {
Background: transparent;
Border: 0;
Cursor: pointer;
Position: absolute;
Top:-1px;
Left: 0;
Width: 101%;
Height: 301%;
Z-index: 3;
}
. Test3 span input: focus {
Background: transparent;
Border: 0;
Z-index: 1;
}
</Style>
</Head>
<Body>
<Div> <A href = "http://www.999jiujiu.com/"> http://www.999jiujiu.com/</A> </div>
<Div class = "test3">
<Span> <input type = "text" value = "& nbsp;" readonly = "true"/>
<A href = "http://www.baidu.com"> double-click me </a> </span>
</Div>
</Body>
<Html>