Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="bg"></div>
	<div class="content">		
		<div class="circle">
			<span class="dot no1"></span>
			<span class="dot no2"></span>
			<span class="dot no3"></span>
			<span class="dot no4"></span>
			<span class="dot no5"></span>
			<span class="dot no6"></span>
			<span class="dot no7"></span>
			<span class="dot no8"></span>
			<span class="dot no9"></span>
			<span class="dot no10"></span>
			<span class="dot no11"></span>
			<span class="dot no12"></span>
			<span class="dot no13"></span>
			<span class="dot no14"></span>
			<span class="dot no15"></span>
		</div>
	</div>
              
            
!

CSS

              
                body {
	padding:0;
	margin:0;
  overflow: hidden;
}

.bg {
	position: absolute;
	width:100%;
	height:100%;
	background: url(https://38.media.tumblr.com/e2a6b0c7971dbc8f0c9bdd3d21d57162/tumblr_n9i1d1Yuak1st5lhmo1_1280.jpg);
	background-size: cover;
	background-position: center;
	background-color: #333333;
	-webkit-filter: brightness(0.85);
	filter: brightness(0.85);
}

.content {
	width:100%;
	height:100%;
	top:0;
	right:0;
	bottom:0;
	left:0;
	position:absolute;
}

.circle {
	position: absolute;
	top: 50%;
	left: 50%;
	border-radius: 50%;
	background: transparent;
	z-index: 10;
}

span.dot {
	position: absolute;
	width: 16px;
	height: 100%;
	top: 0;
	left: 50%;
	margin-left: -8px;
}

span.dot:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 16px;
	height: 16px;
	background-color: #ffffff;
	border-radius: 50%;
}

/* Animation */

.circle {
	width: 240px;
	height: 240px;
	margin: -120px 0 0 -120px;
	-webkit-animation: animatedEight 30s linear infinite;
	animation: animatedEight 30s linear infinite;
}

	@-webkit-keyframes animatedEight {
		from { -webkit-transform: rotate(-45deg); }
		to { -webkit-transform: rotate(-405deg); }
	}
	@keyframes animatedEight {
		from { transform: rotate(-45deg); }
		to { transform: rotate(-405deg); }
	}

span.dot.no1 {
	-webkit-animation: animatedDotOne 15s ease infinite;
	animation: animatedDotOne 15s ease infinite;
}

	@-webkit-keyframes animatedDotOne {
		0%, 58%, 100% { -webkit-transform: translate(0,0); }
		8%, 50% { -webkit-transform: translate(0,224px); }
	}
	@keyframes animatedDotOne {
		0%, 58%, 100% { transform: translate(0,0); }
		8%, 50% { transform: translate(0,224px); }
	}

span.dot.no2 {
	-webkit-animation: animatedDotTwo 15s ease infinite;
	animation: animatedDotTwo 15s ease infinite;
}

	@-webkit-keyframes animatedDotTwo {
		0%, 2%, 60%, 100% { -webkit-transform: rotate(24deg) translate(0,0); }
		10%, 52% { -webkit-transform: rotate(24deg) translate(0,224px); }
	}
	@keyframes animatedDotTwo {
		0%, 2%, 60%, 100% { transform: rotate(24deg) translate(0,0); }
		10%, 52% { transform: rotate(24deg) translate(0,224px); }
	}

span.dot.no3 {
	-webkit-animation: animatedDotThree 15s ease infinite;
	animation: animatedDotThree 15s ease infinite;
}

	@-webkit-keyframes animatedDotThree {
		0%, 4%, 62%, 100% { -webkit-transform: rotate(48deg) translate(0,0); }
		12%, 54% { -webkit-transform: rotate(48deg) translate(0,224px); }
	}
	@keyframes animatedDotThree {
		0%, 4%, 62%, 100% { transform: rotate(48deg) translate(0,0); }
		12%, 54% { transform: rotate(48deg) translate(0,224px); }
	}

span.dot.no4 {
	-webkit-animation: animatedDotFour 15s ease infinite;
	animation: animatedDotFour 15s ease infinite;
}

	@-webkit-keyframes animatedDotFour {
		0%, 6%, 64%, 100% { -webkit-transform: rotate(72deg) translate(0,0); }
		14%, 56% { -webkit-transform: rotate(72deg) translate(0,224px); }
	}
	@keyframes animatedDotFour {
		0%, 6%, 64%, 100% { transform: rotate(72deg) translate(0,0); }
		14%, 56% { transform: rotate(72deg) translate(0,224px); }
	}

span.dot.no5 {
	-webkit-animation: animatedDotFive 15s ease infinite;
	animation: animatedDotFive 15s ease infinite;
}

	@-webkit-keyframes animatedDotFive {
		0%, 8%, 66%, 100% { -webkit-transform: rotate(96deg) translate(0,0); }
		16%, 58% { -webkit-transform: rotate(96deg) translate(0,224px); }
	}
	@keyframes animatedDotFive {
		0%, 8%, 66%, 100% { transform: rotate(96deg) translate(0,0); }
		16%, 58% { transform: rotate(96deg) translate(0,224px); }
	}

span.dot.no6 {
	-webkit-animation: animatedDotSix 15s ease infinite;
	animation: animatedDotSix 15s ease infinite;
}

	@-webkit-keyframes animatedDotSix {
		0%, 10%, 68%, 100% { -webkit-transform: rotate(120deg) translate(0,0); }
		18%, 60% { -webkit-transform: rotate(120deg) translate(0,224px); }
	}
	@keyframes animatedDotSix {
		0%, 10%, 68%, 100% { transform: rotate(120deg) translate(0,0); }
		18%, 60% { transform: rotate(120deg) translate(0,224px); }
	}

span.dot.no7 {
	-webkit-animation: animatedDotSeven 15s ease infinite;
	animation: animatedDotSeven 15s ease infinite;
}

	@-webkit-keyframes animatedDotSeven {
		0%, 12%, 70%, 100% { -webkit-transform: rotate(144deg) translate(0,0); }
		20%, 62% { -webkit-transform: rotate(144deg) translate(0,224px); }
	}
	@keyframes animatedDotSeven {
		0%, 12%, 70%, 100% { transform: rotate(144deg) translate(0,0); }
		20%, 62% { transform: rotate(144deg) translate(0,224px); }
	}

span.dot.no8 {
	-webkit-animation: animatedDotEight 15s ease infinite;
	animation: animatedDotEight 15s ease infinite;
}

	@-webkit-keyframes animatedDotEight {
		0%, 14%, 72%, 100% { -webkit-transform: rotate(168deg) translate(0,0); }
		22%, 64% { -webkit-transform: rotate(168deg) translate(0,224px); }
	}
	@keyframes animatedDotEight {
		0%, 14%, 72%, 100% { transform: rotate(168deg) translate(0,0); }
		22%, 64% { transform: rotate(168deg) translate(0,224px); }
	}

span.dot.no9 {
	-webkit-animation: animatedDotNine 15s ease infinite;
	animation: animatedDotNine 15s ease infinite;
}

	@-webkit-keyframes animatedDotNine {
		0%, 16%, 74%, 100% { -webkit-transform: rotate(192deg) translate(0,0); }
		24%, 66% { -webkit-transform: rotate(192deg) translate(0,224px); }
	}
	@keyframes animatedDotNine {
		0%, 16%, 74%, 100% { transform: rotate(192deg) translate(0,0); }
		24%, 66% { transform: rotate(192deg) translate(0,224px); }
	}

span.dot.no10 {
	-webkit-animation: animatedDotTen 15s ease infinite;
	animation: animatedDotTen 15s ease infinite;
}

	@-webkit-keyframes animatedDotTen {
		0%, 18%, 76%, 100% { -webkit-transform: rotate(216deg) translate(0,0); }
		26%, 68% { -webkit-transform: rotate(216deg) translate(0,224px); }
	}
	@keyframes animatedDotTen {
		0%, 18%, 76%, 100% { transform: rotate(216deg) translate(0,0); }
		26%, 68% { transform: rotate(216deg) translate(0,224px); }
	}

span.dot.no11 {
	-webkit-animation: animatedDotEleven 15s ease infinite;
	animation: animatedDotEleven 15s ease infinite;
}

	@-webkit-keyframes animatedDotEleven {
		0%, 20%, 78%, 100% { -webkit-transform: rotate(240deg) translate(0,0); }
		28%, 70% { -webkit-transform: rotate(240deg) translate(0,224px); }
	}
	@keyframes animatedDotEleven {
		0%, 20%, 78%, 100% { transform: rotate(240deg) translate(0,0); }
		28%, 70% { transform: rotate(240deg) translate(0,224px); }
	}

span.dot.no12 {
	-webkit-animation: animatedDotTwelve 15s ease infinite;
	animation: animatedDotTwelve 15s ease infinite;
}

	@-webkit-keyframes animatedDotTwelve {
		0%, 22%, 80%, 100% { -webkit-transform: rotate(264deg) translate(0,0); }
		30%, 72% { -webkit-transform: rotate(264deg) translate(0,224px); }
	}
	@keyframes animatedDotTwelve {
		0%, 22%, 80%, 100% { transform: rotate(264deg) translate(0,0); }
		30%, 72% { transform: rotate(264deg) translate(0,224px); }
	}

span.dot.no13 {
	-webkit-animation: animatedDotThirteen 15s ease infinite;
	animation: animatedDotThirteen 15s ease infinite;
}

	@-webkit-keyframes animatedDotThirteen {
		0%, 24%, 82%, 100% { -webkit-transform: rotate(288deg) translate(0,0); }
		32%, 74% { -webkit-transform: rotate(288deg) translate(0,224px); }
	}
	@keyframes animatedDotThirteen {
		0%, 24%, 82%, 100% { transform: rotate(288deg) translate(0,0); }
		32%, 74% { transform: rotate(288deg) translate(0,224px); }
	}

span.dot.no14 {
	-webkit-animation: animatedDotFourteen 15s ease infinite;
	animation: animatedDotFourteen 15s ease infinite;
}

	@-webkit-keyframes animatedDotFourteen {
		0%, 26%, 84%, 100% { -webkit-transform: rotate(312deg) translate(0,0); }
		34%, 76% { -webkit-transform: rotate(312deg) translate(0,224px); }
	}
	@keyframes animatedDotFourteen {
		0%, 26%, 84%, 100% { transform: rotate(312deg) translate(0,0); }
		34%, 76% { transform: rotate(312deg) translate(0,224px); }
	}

span.dot.no15 {
	-webkit-animation: animatedDotFifteen 15s ease infinite;
	animation: animatedDotFifteen 15s ease infinite;
}

	@-webkit-keyframes animatedDotFifteen {
		0%, 28%, 86%, 100% { -webkit-transform: rotate(336deg) translate(0,0); }
		36%, 78% { -webkit-transform: rotate(336deg) translate(0,224px); }
	}
	@keyframes animatedDotFifteen {
		0%, 28%, 86%, 100% { transform: rotate(336deg) translate(0,0); }
		36%, 78% { transform: rotate(336deg) translate(0,224px); }
	}
              
            
!

JS

              
                
              
            
!
999px

Console