- .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%;
- height: 301%;
- z-index: 3;
- }
- .test3 span input:focus {
- background: transparent;
- border: 0;
- z-index: 1;
- }
- //该片段来自于http://www.codesnippet.cn/detail/100520133260.html
来源: http://www.codesnippet.cn/detail/100520133260.html