html5+CSS3实现的炫酷超链接特效

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

/* Curtain */
.link-curtain {
	background: rgba(149,165,166,0.3);
}

.link-curtain a {
	overflow: hidden;
	font-weight: 200;
}

.link-curtain a::before,
.link-curtain a::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: '';
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}

.link-curtain a::before {
	border-top: 2px solid #fff;
	background: transparent;
	-webkit-transition-delay: 0.3s;
	transition-delay: 0.3s;
	-webkit-transform: translateY( calc(100% - 2px) );
	transform: translateY( calc(100% - 2px) );
}

.link-curtain a:hover::before,
.link-curtain a:focus::before {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.link-curtain a:hover::before,
.link-curtain a:focus::before,
.link-curtain a:hover::after,
.link-curtain a:focus::after {
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

.link-curtain a::after {
	z-index: -1;
	background: rgba(255,255,255,0.7);
	-webkit-transform: translateY(-100%);
	transform: translateY(-100%);
}

.link-curtain a:hover::after,
.link-curtain a:focus::after {
	-webkit-transition-delay: 0.3s;
	transition-delay: 0.3s;
}