欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

CSS實(shí)現(xiàn)超級(jí)鏈接需要通過(guò)雙擊后跳轉(zhuǎn)

  發(fā)布時(shí)間:2013-10-12 17:45:06   作者:佚名   我要評(píng)論
超級(jí)鏈接需要雙擊后跳轉(zhuǎn)如何實(shí)現(xiàn),其實(shí)很簡(jiǎn)單,在本文將為大家介紹下具體的實(shí)現(xiàn)方法,感興趣的朋友不要錯(cuò)過(guò)
CSS代碼

復(fù)制代碼
代碼如下:

.test3 span {
position: relative;
}
.test3 span a {
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%; /* Hacky */
height: 301%; /* Hacky */
z-index: 3;
}
.test3 span input:focus {
background: transparent;
border: 0;
z-index: 1;
}

html代碼

復(fù)制代碼
代碼如下:

<div class="test3">
<span><input type="text" value="&nbsp;" readonly="true" />
<a >Double click me</a></span>
</div>

相關(guān)文章

最新評(píng)論