cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

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.

            
              * {transition: all .5s;}
			
html {
	width:100%;
	height:100%;
	overflow:hidden;
	display:flex;
	justify-content:center;
	align-items:center;
	position:relative;
	animation: sky 12s infinite linear;
}
html:before, html:after {
  content:"";
  width:200px; 
	height:200px;
	border-radius:50%;
}
html:before {
	z-index:10;
	animation: glow 12s infinite ease-in-out;
}
html:after {
	position:absolute;
	z-index:11;
	top:50%;
	transform:translateY(-50%);
	animation: eclipse 12s infinite ease-in-out;
}
			
@keyframes sky {
		0% {background:#c4daee;}
		25% {background:#c4daee;}
		50% {background:#0c0224;}
		100% {background:#c4daee;}
}
			
@keyframes glow {
		0% {box-shadow:1px 1px 1px #fff;background:#fff;}
		50% {box-shadow:1px 1px 150px #e1e777;background:#e1e777;}
		100% {box-shadow:1px 1px 1px #fff;background:#fff;}
}
			
@keyframes eclipse {
		0% {
			right:-40%;
			background:#fff;
			transform:scale(2) translateY(-50%);
		}
		50% {
		  transform:scale(1) translateY(-50%);
			background:#0c0224;
		}
		100% {
			right:120%;
			background:#fff;
			transform:scale(2) translateY(-50%);
		}
}
			
@media only screen and (max-width:960px){
		html:before, html:after {height:150px;width:150px;}
	 html {animation: sky 10s infinite linear;}
	 html:before {animation: glow 10s infinite ease-in-out;}
		html:after {animation: eclipse 10s infinite ease-in-out;}
	
}
@media only screen and (max-width:480px){
		html:before, html:after {height:100px;width:100px;}
	html {animation: sky 6s infinite linear;}
	html:before {animation: glow 6s infinite ease-in-out;}
	 html:after {animation: eclipse 6s infinite ease-in-out;}
	
}
            
          
!
999px
Loading ..................

Console