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.container[href='https://twitter.com/rileyjshaw' target='_blank']
		- for i in (1..5)
	p.social.fade by @rileyjshaw

              $NUM_BOXES: 5
$SPEED: 2.4s
$COLOR: rgb(225, 203, 57)

html, body
	height: 100%
	width: 100%

	display: flex
	justify-content: center
	align-items: center
	margin: 0
	font-family: 'Roboto', sans-serif
	text-align: right
	background: #000

	text-decoration: none

	margin: 0
	padding: 0
	list-style: none

	position: relative
	display: flex
	justify-content: space-around
	width: 300px
	height: 60px
	padding: 0 12px
	overflow: hidden
	background: $COLOR

	width: 48px
	height: 48px
	border-radius: 4px
	background: #181818
	box-shadow: 0 0 24px rgba(0, 0, 0, 0.6)

	@for $n from 1 through $NUM_BOXES
			animation: fall $SPEED $n/$NUM_BOXES*$SPEED - $SPEED ease-in infinite

	display: inline-block
	padding-bottom: 1px
	border-bottom: 1px solid desaturate($COLOR, 20%)
	font-size: 10px
	text-transform: uppercase
	color: $COLOR

	opacity: 0
	animation: fadeIn 0.4s 2s linear forwards

@keyframes fall
		transform: translate3d(0, -150px, 0) rotate(0deg)
		transform: translate3d(0, 150px, 0) rotate(360deg)

@keyframes fadeIn
		opacity: 1

Loading ..................