body {
	margin: 0px;
	padding: 0px;
	background-color: pink;
}
.bagua {
	margin: 20px auto; width : 96px;
	height: 48px;
	background: white;
	border-color: white white black white;
	border-style: solid;
	border-width: 2px 2px 50px 2px;
	border-radius: 50%;
	position: relative;
	width: 96px;
}
.bagua:before {
	content : "";
	position : absolute;
	top : 50%;
	left : 0;
	background : white;
	border : 18px solid black;
	border-radius : 50%;
	width : 12px;
	height : 12px;
}
.bagua:after {
	content : "";
	position : absolute;
	top : 50%;
	left : 50%;
	background : black;
	border : 18px solid white;
	border-radius : 50%;
	width : 12px;
	height : 12px;
}
@keyframes rotate {
	0% { transform : rotate(0deg); }
	25% { transform : rotate(90deg); }
	50% { transform : rotate(180deg); }
	75% { transform : rotate(270deg); }
	100% { transform : rotate(360deg); }
}
@-webkit-keyframes rotate {
	0% { -webkit-transform : rotate(0deg); }
	25% { -webkit-transform : rotate(90deg); }
	50% { -webkit-transform : rotate(180deg); }
	75% { -webkit-transform : rotate(270deg); }
	100% { -webkit-transform : rotate(360deg); }
}
@-moz-keyframes rotate {
	0% { -moz-transform : rotate(0deg); }
	25% { -moz-transform : rotate(90deg); }
	50% { -moz-transform : rotate(180deg); }
	75% { -moz-transform : rotate(270deg); }
	100% { -moz-transform : rotate(360deg); }
}
@-o-keyframes rotate {
	0% { -o-transform : rotate(0deg); }
	25% { -o-transform : rotate(90deg); }
	50% { -o-transform : rotate(180deg); }
	75% { -o-transform : rotate(270deg); }
	100% { -o-transform : rotate(360deg); }
}
.rotate  {
	animation-name: rotate;
	animation-duration: 2s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	-webkit-animation-name: rotate;
	-webkit-animation-duration: 2s;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite;
	-o-animation-name: rotate;
	-o-animation-duration: 2s;
	-o-animation-timing-function: linear;
	-o-animation-iteration-count: infinite;
	-moz-animation-name: rotate;
	-moz-animation-duration: 2s;
	-moz-animation-timing-function: linear;
	-moz-animation-iteration-count: infinite;
}