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

              
                <div class="test orange blur">TEST-03 DEEP SYNCHRONIZATION TEST</div>
<div class="test red-orange blur">TEST-03 DEEP SYNCHRONIZATION TEST</div>
<div class="test red blur">TEST-03 DEEP SYNCHRONIZATION TEST</div>
<div class="test brown blur">Visual Archive File: N3l-O</div>
<div class="test green blur">TEST-03 DEEP SYNCHRONIZATION TEST</div>
<div class="test f-blue_1 blur">ALL SYSTEMS ARE GREEN</div>
<div class="test f-blue_2 blur">ALL SYSTEMS ARE GREEN</div>
<p>TEST-03 DEEP SYNCHRONIZATION TEST</p>
<button class="button p-blue blur">FIL</button>
<button class="button-fill p-blue blur">FIL</button>
<div class="box l-blue blur"></div>
<div class="box pink blur"></div>
<div class="box red blur"></div>
<div class="test cnt">
	<div class="digi number f-blue_1">59612</div>
	<div class="f-blue_1 count">60</div>
</div>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css2?family=Mitr&display=swap');
@import url('https://fonts.googleapis.com/css2?family=B612+Mono&display=swap');


html {
	font-size: 100%;
	background-color: #111;
}

.test {
	font-family: 'Mitr', sans-serif;
	font-size: 3rem;
	color: #111;
	transform-origin: 0 0;
	transform: scaleY(1.3);
}

.orange {
	color: #f4a50e;
}
.red-orange {
	color: #cb6e1f;
}
.red {
	color: #7a1407;
}
.brown {
	color: #39201c;
}
.green {
	color: #90e218;
}
.f-blue_1 {
	color: #b4efe8;
}
.f-blue_2 {
	color: #2aa298;
}
.button.p-blue {
	border: 1px;
	background-color: rgba(0,0,0,0);
	color: #00ebd7;
}
.button-fill.p-blue {
	border: 0;
	background-color: #00ebd7;
}

.orange.blur,
.red-orange.blur {
	text-shadow: 0 0 1px #965611;
	text-shadow: 0 0 10px #a8520b;
}
.red.blur {
	text-shadow: 0 0 10px #3c1209;
}
.brown.blur {
	text-shadow: 0 0 5px #5f3b39;
}
.green.blur {
	text-shadow: 0 0 1px #715d5d;
	text-shadow: 0 0 10px #334e0f;
}
.f-blue_1.blur {
	text-shadow: 0 0 5px #0b615d;
}
.f-blue_2.blur {
	text-shadow: 0 0 5px #166563;
}
.button.p-blue.blur {
	box-shadow: 0 0 5px #0daea0;
}
.button-fill.p-blue.blur {
	text-shadow: 0 0 5px #009f95;
}

.box {
	width: 50px;
	height: 10px;
}

.box.l-blue {
	background-color: #00e1cf;
}
.box.pink {
	background-color: #e35a88;
}
.box.red {
	background-color: #d80f0a;
}

.digi.number {
	font-family: 'B612 Mono', monospace;
	font-size: 3rem;
	letter-spacing: -5px;
}

.count {
	font-size: 2rem;
}

.test.cnt {
	display: flex;
	flex-flow: row wrap;
	justify-content: right;
	align-items: baseline;
	width: 500px;
}
.test.cnt .count {
	margin-left: 4px;
}
.test.cnt div {
	line-height: 1;
}
              
            
!

JS

              
                (function($){
	
	let cnt = $(".count").text();
	let ct = $(".digi.number").text();
	
 let icnt = setInterval(function(){
 	cnt--;
	 
	 console.log(cnt)
	 
	 if (cnt < 10) {
		 cnt = "0" + cnt;
	 }
	 
	 if (cnt <= 0) {
		 cnt = 60;
	 }
	 $(".count").text(cnt);
	 
 },6);
	
 let ict = setInterval(function(){
 	ct--;
	 
	 console.log(ct)
	 
	 if (ct < 10) {
		 ct = "0" + ct;
	 }
	 
	 if (ct <= 0) {
		 ct = 99;
	 }
	 $(".digi.number").text(ct);
	 
 },1000);
 
})(jQuery);
              
            
!
999px

Console