body{
	margin: 0px;
	padding: 0px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	background-color: #fff;
	font-family: sans-serif;
}
.box{
	position: relative;
	width: 340px;
	height: 340px;
}
.box .content{
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 10px;
	right: 10px;
	background-color: #000;
	padding: 20px;
	overflow: hidden;
	text-align: center;
	border: 2px solid #fff;
}
.box .content:before{
	content: '';
	position: absolute;
	top: 0px;
	left: -100%;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
	transition: 0.5s;
	pointer-events: none;
}
.box:hover .content:before{
	left: -50%;
}
.box .content h2{
	margin: 0px 0px 10px;
	padding: 0px;
	color: #fff;
}
.box .content p{
	margin: 0px;
	padding: 0px;
	color: #fff;
}
.box span{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	display: block;
	pointer-events: none;
}
.box span:before{
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: #0f0;
	transform-origin: left;
	transition: 0.5s;
}
.box span:nth-child(1){
	transform: rotate(0deg);
}
.box span:nth-child(2){
	transform: rotate(90deg);
}
.box span:nth-child(3){
	transform: rotate(180deg);
}
.box span:nth-child(4){
	transform: rotate(270deg);
}
.box:hover span:before{
	transform: scaleX(0);
}
.box span:nth-child(even):before{
	transform-origin: right;
	transition-delay: 0.5s
}