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="home">
<article id="post-4812" class="post-4812 page type-page status-publish hentry post without-featured-image">
	<header class="entry-header">
		<h1 class="entry-title">12/08/2016 Cover</h1>
	</header><!-- .entry-header -->

	<!-- Grab the featured image -->
	
	<div class="entry-content">
		<div class="kj-circle"></div>
<div class="kj-circle--inner">
<div class="kj-issue"><span class="kj-pound">#</span>17</div>
<div class="kj-articles">
<div class="kj-article">
<h2 class="kj-article--title"><a href="https://design.blog/2016/12/08/ced-funches-on-the-responsibility-of-being-better-than-advertised/">The Responsibility of Being Better Than Advertised</a></h2>
<p class="kj-article--author">Ced Funches</p>
</div>
<div class="kj-article">
<h2 class="kj-article--title"><a href="https://design.blog/2016/12/08/justin-dunn-on-coding-a-new-path-to-the-championship/">Coding a New Path to the Championships</a></h2>
<p class="kj-article--author">Justin Dunn</p>
</div>
</div>
</div>
<div class="kj-footer">
<p class="kj-footer--description">Design, Inclusion, +/-&nbsp;Tech<br>
This is a service from the Designers and Design Lovers at <a href="https://automattic.com/" name="Automattic">Automattic</a></p>
<p class="kj-footer--signature">December 8, 2016<br>
Cover by <a href="https://design.blog/2016/12/08/kjell-reigstad/">Kjell Reigstad</a></p>
</div>
	</div><!-- .entry-content -->
	</article>
</div>
              
            
!

CSS

              
                /*
** START: 20161208 Cover
** Design by Kjell Reigstad
** @kjellreigstad
** .home, Delete with next week's cover
*/
.home {
	background: #FFF;
	-webkit-font-smoothing: antialiased;
}

.home .content-area {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	padding: 0;
}

.home.admin-bar .content-area {
	top: 32px;
}

.home .entry-header {
	display: none;
}

.home .kj-circle {
	position: relative;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 240px;
	width: 240px;
	margin: 30px auto 50px;
	border-radius: 50%;
	background: #000 url('https://designdotblog.files.wordpress.com/2016/12/bg-cover-2.gif') center center;
	background-size: 600px 600px;
	-webkit-animation: rotating 240s linear infinite;
	-moz-animation: rotating 240s linear infinite;
	-ms-animation: rotating 240s linear infinite;
	-o-animation: rotating 240s linear infinite;
	animation: rotating 240s linear infinite;
}

.home .kj-circle--inner {
	padding: 0 40px 40px;
	margin: 0 auto;
	max-width: 600px;
	text-align: center;
}

.home .kj-circle--inner > p {
	margin: 0;
}

.home .kj-issue {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin-top: 102px;
	margin-left: -6px;
	color: #00FF00;
	font-family: "Georgia", serif;
	font-style: italic;
	font-size: 84px;
	line-height: 1;
}

.home .kj-pound {
	font-size: .6em;
	position: relative;
	top: -.4em;
}

.home .kj-articles {
	position: relative;
}

.home .kj-article {
	margin-top: 24px;
	max-width: 600px;
}

.home .kj-article a {
	text-decoration: none;
	color: #333;
	display: block;
}

.home .kj-article a:hover {
	color: #00FF00;
	animation: kj-shake .1s ease-in-out;
}

.home .kj-article--title {
	display: block;
	font-family: "Georgia", serif;
	font-style: italic;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 18px;
	margin-bottom: 0;
	padding-bottom: 0;
	-webkit-font-smoothing: antialiased;
}

.home .kj-article--author {
	font-family: monospace;
	font-size: 14px;
	margin-top: 6px;
	margin-bottom: 0;
	color: #999;
}

.home .kj-footer {
	position: relative;
	font-family: monospace;
	font-size: 12px;
	line-height: 1.6em;
	text-align: center;
	color: #999;
	padding: 0 0 40px;
	max-width: 80%;
	margin: 0 auto;
}

.home .kj-footer a {
	color: #999;
	text-decoration: underline;
}

.home .kj-footer a:hover {
	color: #33ff00;
}

@keyframes kj-shake {
	0% {
		transform: translateX(0);
	}
	
	20% {
		transform: translateX(-2px);
	}
	
	40% {
		transform: translateX(2px);
	}
	
	60% {
		transform: translateX(-2px);
	}
	
	80% {
		transform: translateX(2px);
	}
	
	100% {
		transform: translateX(0);
	}
}

@keyframes rotating {
	from {
		-ms-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	
	to {
		-ms-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@media ( min-width: 480px ) {
	.home .kj-article--title {
		font-size: 32px;
	}
}

@media ( max-width: 800px ) {
	.home .entry-content {
		position: relative;
		margin-top: calc(33px + 10%);
	}
}

@media ( min-width: 640px ) and ( min-height: 600px ) {
	.home .entry-content {
		display: flex;
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
		flex-direction: column;
		margin-top: 0;
		font-size: 2vh;
	}
	
	.home .kj-circle {
		width: calc(100vh - 80px);
		height: calc(100vh - 80px);
		margin: 40px;
	}
	
	.home .kj-circle--inner {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		width: calc(100vh - 80px);
		height: calc(100vh - 80px);
		margin: 40px auto;
		padding: 40px;
		display: flex;
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
		flex-direction: column;
	}
	
	.home.admin-bar .kj-circle,
								.home.admin-bar .kj-circle--inner {
		width: calc(100vh - 112px);
		height: calc(100vh - 112px);
	}
	
	.home .kj-circle--inner {
		max-width: 100%;
	}
	
	.home .kj-article {
		max-width: 38em;
		margin-left: auto;
		margin-right: auto;
	}
	
	.home .kj-article:nth-child(2) {
		max-width: 30em;
		margin-left: auto;
		margin-right: auto;
	}
	
	.home .kj-issue {
		position: relative;
		margin: -24px 0 24px;
		padding: 0 .6em;
		font-size: 5em;
	}
	
	.home .kj-article--title {
		font-size: 2em;
	}
	
	.home .kj-article a, .home .kj-article--author {
		color: #FFF;
	}
	
	.home .sidebar-toggle {
		background: transparent;
	}
}

/* END: 20161208 Cover .home */
              
            
!

JS

              
                
              
            
!
999px

Console