Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

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

              
                .attr
	.me.me-sky
	.clouds
		.cloud.cloud1
		.cloud.cloud2
		.cloud.cloud3
		.cloud.cloud4
		.cloud.cloud5
		.cloud.cloud6
	.me
	.text made by jop!
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Amatic+SC');
cloud-time=10s
body, html
	background #111
.attr
	position absolute
	width 9.5vmax
	height 9vmax
	bottom 0
	right 0
	color rgba(255,255,255,0)
	min-width 120px
	min-height 120px
	:hover
		color rgba(255,255,255,1)

.text
	position relative
	transition .2s ease
	width 100%
	height 100%
	text-align center
	font-align center
	top -.5vmax
	font-size 1.8vmax
	opacity 1
	z-index 10
	font-family: 'Amatic SC', cursive;

.clouds
	position absolute
	overflow hidden
	right 0 
	bottom 0
	width 95%
	height 98%
	mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 50%,rgba(255,255,255,0) 70%)
.cloud
	left -40%
	width: 20%;
	height: 10%;
	position absolute	
	animation cloud cloud-time linear infinite
	image-rendering: pixelated;
	background-size contain
	background-repeat no-repeat
.cloud1
	top 40%
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/522641/clouds4.png);
.cloud2
	animation-delay cloud-time*.2
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/522641/clouds2.png);
	top 15%
.cloud3
	animation-delay cloud-time*.3
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/522641/clouds1.png);
	top 58%
.cloud4
	animation-delay cloud-time*.52
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/522641/clouds3.png);
	top 32%	
.cloud5
	animation-delay cloud-time*.65
	top 12%	
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/522641/clouds1.png);
.cloud6
	animation-delay cloud-time*.75
	top 38%	
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/522641/clouds2.png);
.cloud7
	animation-delay cloud-time*.95
	top 12%	
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/522641/clouds4.png);
.me
	position absolute
	width 74%
	height 74%
	bottom 9%
	right 9%
	border 3px #297E25 solid
	border-radius 100%
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/522641/me.png);
	background-size cover
.me-sky
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/522641/me_sky.png);
@keyframes cloud{
	from {left: -40%}
	to{left: 140%}
}	
              
            
!

JS

              
                
              
            
!
999px

Console