Pen Settings



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


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


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.


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.


                <div class="card__hover-area">
	<div class="card">
		<div class="card__front"></div>
		<div class="card__back">
			<h3>The Louvre</h3>
			<p>The Louvre (French: Musée du Louvre), is the world's largest art museum and a historic monument in Paris, France. A central landmark of the city, it is located on the Right Bank of the Seine in the city's 1st arrondissement (district or ward). – <a href="">Learn More ›</a></p>


                * {
	box-sizing: border-box;

body {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	padding: 0;
	margin: 0;
	background: radial-gradient(white,lightgray);

.card__hover-area {
	perspective: 500px;	

.card {
	height: 350px;
	width: 350px;
	position: relative;
	transition: .5s all ease-out;
	transform: rotateY(0) scale(1);
	box-shadow: 0 2px 4px rgba(0,0,0,.3);

.card__hover-area:hover .card {
		transform: rotateY(.5turn) scale(1.2);
		box-shadow: 0 10px 30px rgba(0,0,0,.16);

.card > div {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;

.card__front {
	background: url(;
	background-size: cover;
	transition: .4 all linear;

.card__back {
	background: #c4dcd9;
	color: #021512;
	opacity: 0;
	transition-delay: .17s;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	padding: 2em;
	transform: rotateY(.5turn);
	font-family: 'Georgia';

.card__back h3 {
	font-family: 'Arial Narrow';
	text-transform: uppercase;
	letter-spacing: .1em;
	border-bottom: 2px solid #7f9491;
	line-height: 2em;

.card__back a {
	color: #7f9491;
	text-decoration: none;
	font-style: italic;

.card__back a:hover {
	color: #021512;

.card__hover-area:hover .card__back {
	opacity: 1;
	transition-delay: .17s;