/* 代码整理：懒人之家  www.lanrenzhijia.com */
.box {
	width: 100px;
	height: 100px;
	position: relative;
	background: rgba(255,255,255,0);
	display: inline-block;
	margin: 30px 20px;
	float:left;
	color: #2c3e50;
	box-shadow: inset 0 0 0 2px #2c3e50;
	-webkit-transition: background 0.4s 0.5s;
	transition: background 0.4s 0.5s;
}

.box:hover {
	background: rgba(255,255,255,1);
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.box img {
	margin: 10px auto 20px auto;	
	width: 80px;
}

.box span {
	display: block; font-size:12px;
	padding: 0 5px 5px 5px;
}

.box h3,
.box span {
	-webkit-transition: color 0.4s 0.5s;
	transition: color 0.4s 0.5s;
}

.box:hover h3,
.box:hover span {
	color: #ffc539;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.box svg {
	position: absolute;
	top: 0;
	left: 0;
}

.box svg line {
	stroke-width: 3;
	stroke: #ecf0f1;
	fill: none;
	-webkit-transition: all .8s ease-in-out;
	transition: all .8s ease-in-out;
}

.box:hover svg line {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

.box svg line.top,
.box svg line.bottom {
	stroke-dasharray: 100 100; 
}

.box svg line.left,
.box svg line.right {
	stroke-dasharray: 100 100;
}

.box:hover svg line.top {
	-webkit-transform: translateX(-200px);
	transform: translateX(-200px);
}

.box:hover svg line.bottom {
	-webkit-transform: translateX(200px);
	transform: translateX(200px);
}

.box:hover svg line.left {
	-webkit-transform: translateY(600px);
	transform: translateY(600px);
}

.box:hover svg line.right {
	-webkit-transform: translateY(-200px);
	transform: translateY(-200px);
}

