Html
    Css
    Js
* {
	margin:0;
	padding:0
}
html,css {
	width:100%;
	height:100%
}
.position {
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	margin-top:15%
}
#workarea {
	position:absolute;
	width:100%;
	height:100%;
	background-color:#1e1a3e;
	font-family:Raleway
}
#personal {
	color:white;
	text-decoration:none;
	position:absolute;
	bottom:15px;
	right:2%
}
.spot {
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0
}
.svg-wrapper {
	margin-top:0;
	position:relative;
	width:150px;
	height:40px;
	display:inline-block;
	border-radius:3px;
	margin-left:5px;
	margin-right:5px
}
#shape {
	stroke-width:6px;
	fill:transparent;
	stroke:#009FFD;
	stroke-dasharray:85 400;
	stroke-dashoffset:-220;
	transition:1s all ease
}
#text {
	margin-top:-35px;
	text-align:center
}
#text a {
	color:white;
	text-decoration:none;
	font-weight:100;
	font-size:1.1em
}
.svg-wrapper:hover #shape {
	stroke-dasharray:50 0;
	stroke-width:3px;
	stroke-dashoffset:0;
	stroke:#06D6A0
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

纯css3实现标题线框动效

 

3
      ruby_0
      2017/4/13 17:10:07

      只是看看能不能的JQ币

      回复
      William0
      2017/4/6 9:59:52

      不支持IE浏览器的!!?

      回复
      火腿肠0
      2017/3/27 14:24:58
      刚刚接触css,缘来真的这么强大啊! 回复