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.

              <a href='https://bennettfeely.com/image-effects' target='_blank'>
	<em>Explore Image Effects</em> &rarr; 
<iframe src='https://bennettfeely.com/image-effects'></iframe>
              @import url('https://fonts.googleapis.com/css?family=Alegreya+Sans:400,500,800');

$blue : #3960ab;

body {
	overflow: hidden;
	background: shade($blue, 50%);

a {
	display: block;
	padding: 0 20px;
	font: 800 30px/80px 'Alegreya Sans', sans-serif;
	text-decoration: none;
	color: white;
	background: $blue;
	transition: background 1s;
	&:hover {
		background: shade($blue, 50%);
		transition: background .1s;

em {
	font-style: normal;
	border-bottom: 2px solid rgba(white, .25);
	a:hover & {
		border-bottom: 2px solid white;

small {
	display: inline-block;
	float: right;
	font-size: 16px;
	font-weight: 500;
	opacity: .5;

iframe {
	width: 100%;
	height: calc(100vh - 80px);
	pointer-events: none;
	transform: translate(20px, 20px);
	border-radius: 5px 5px 0 0;
	transform-origin: bottom left;
	transition: transform 1s, opacity 1s;
	a:hover + & {
		transform: translate(40px, 20px) rotate(3deg);
		transition: transform .1s, opacity .1s;
		opacity: .8;
Loading ..................