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.

            
              <div class="frame">
	<div class="word">
		<div class="ee">
			<div class="light left"></div>
			<div class="light top"></div>
			<div class="light middle"></div>
			<div class="light bottom"></div>
		</div>
		<div class="nn">
			<div class="light left"></div>
			<div class="light middle"></div>
			<div class="light right"></div>
		</div>
		<div class="dd">
			<div class="light left"></div>
			<div class="right">
				<div class="circleBox">
					<div class="circle"></div>
				</div>
				<div class="topDotBox">
					<div class="light dot"></div>
				</div>
				<div class="bottomDotBox">
					<div class="light dot"></div>
				</div>
			</div>
			<!--
			<svg width="120px" height="120px" viewBox="0 0 120 120" class="rightSVG">
				<defs>
					<filter id="glow" x="0" y="0" width="200%" height="200%">
						<feOffset result="offOut" in="SourceAlpha" dx="20" dy="20" />
						<feGaussianBlur result="blurOut" in="offOut" stdDeviation="10" />
						<feBlend in="SourceGraphic" in2="blurOut" mode="normal" />
					</filter>
				</defs>
				<circle cx="60" cy="60" r="56" />
			</svg>
			-->
		</div>
	</div>
</div>
            
          
!
            
              .frame {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 400px;
	height: 400px;
	margin-top: -200px;
	margin-left: -200px;
	border-radius: 2px;
	box-shadow: 1px 2px 10px 0px rgba(0,0,0,0.3);
	overflow: hidden;
	background: #272C34;
	color: #fff;
	font-family: 'Open Sans', Helvetica, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@mixin animation() {
	animation: flickr 6s ease-in-out ( (random(400) / 100) * 1s ) infinite alternate both;
}

.word {
	position: absolute;
	height: 120px;
	width: 400px;
	top: 140px;
	left: 0;

	.light {
		position: absolute;
		background: #1A1E24;
		box-shadow: 0px 0px 6px 0px #1A1E24;
		border-radius: 3px;
	}

	.ee {
		position: absolute;
		width: 69px;
		height: 120px;
		top: 0;
		left: 68px;

		.left {
			top: 0;
			left: 0;
			height: 120px;
			width: 6px;
			@include animation();
		}

		.top {
			top: 0;
			right: 0;
			height: 6px;
			width: 60px;
			@include animation();
		}

		.middle {
			top: 56px;
			left: 9px;
			height: 6px;
			width: 50px;
			@include animation();
		}

		.bottom {
			bottom: 0;
			right: 0;
			height: 6px;
			width: 60px;
			@include animation();
		}

	}

	.nn {
		position: absolute;
		width: 85px;
		height: 120px;
		top: 0;
		left: 162px;

		.left {
			top: 0;
			left: 0;
			height: 120px;
			width: 6px;
			@include animation();
		}

		.middle {
			top: 0;
			left: 9px;
			height: 6px;
			width: 135px;
			transform-origin: 3px 3px;
			transform: rotate(62deg);
			@include animation();
		}

		.right {
			top: 0;
			right: 0;
			height: 120px;
			width: 6px;
			@include animation();
		}

	}

	.dd {
		position: absolute;
		width: 72px;
		height: 120px;
		top: 0;
		left: 274px;

		.left {
			top: 0;
			left: 0;
			height: 120px;
			width: 6px;
			@include animation();
		}
		
		.right {
			position: absolute;
			z-index: 1;
			top: 0;
			right: 0;
			height: 120px;
			width: 70px;
			
			$delay: (random(400) / 100) * 1s;
			
			.circleBox .circle {
				animation: flickr-circle 6s ease-in-out $delay infinite alternate both;
			}
			.dot {
				animation: flickr-dots 6s ease-in-out $delay infinite alternate both;
			}
			
			.circleBox {
				position: absolute;
				top: -10px;
				right: -10px;
				bottom: -10px;
				width: 70px;
				overflow: hidden;
				
				.circle {
					box-sizing: border-box;
					position: absolute;
					width: 120px;
					height: 120px;
					top: 10px;
					right: 10px;
					border-style: solid;
					border-width: 6px;
					border-color: #1A1E24 #1A1E24 transparent transparent;
					border-radius: 50%;
					box-shadow: 0px 0px 10px 0px #1A1E24, inset 0px 0px 10px 0px #F1F4F5;
					transform: rotate(45deg);
				}
				
			}
			
			.topDotBox {
				position: absolute;
				top: -10px;
				right: 60px;
				width: 26px;
				height: 26px;
				overflow: hidden;
			}
			
			.bottomDotBox {
				position: absolute;
				bottom: -10px;
				right: 60px;
				width: 26px;
				height: 26px;
				overflow: hidden;
			}
			
			.dot {
				top: 10px;
				right: -12px;
				width: 15px;
				height: 6px;
			}
			
		}

		.rightSVG {
			position: absolute;
			top: 0;
			right: 0;
			fill: none;
			stroke: #1A1E24;
			stroke-width: 6;
			stroke-linecap: round;
			stroke-dasharray: 88 176 176;
			filter: drop-shadow( 0px 0px 6px #1A1E24 );
			//animation: flickr-svg 6s ease-in-out ( (random(400) / 100) * 1s ) infinite alternate;
		}

	}

}

@keyframes flickr {
	35%, 37%, 39%, 41%, 100% {
		background: #F1F4F5;
		box-shadow: 0px 0px 10px 0px #F1F4F5;
	}
	0%, 34%, 36%, 36%, 38%, 40% {
		background: #1A1E24;
		box-shadow: 0px 0px 6px 0px #1A1E24;
	}
}

@keyframes flickr-circle {
	35%, 37%, 39%, 41%, 100% {
		border-color: #F1F4F5 #F1F4F5 transparent transparent;
		box-shadow: 0px 0px 10px 0px #F1F4F5, inset 0px 0px 10px 0px #F1F4F5;
	}
	0%, 34%, 36%, 36%, 38%, 40% {
		border-color: #1A1E24 #1A1E24 transparent transparent;
		box-shadow: 0px 0px 6px 0px #1A1E24, inset 0px 0px 6px 0px #1A1E24;
	}
}

@keyframes flickr-dots {
	35%, 37%, 39%, 41%, 100% {
		background: #F1F4F5;
		box-shadow: 0px 0px 9px 1px #F1F4F5;
	}
	0%, 34%, 36%, 36%, 38%, 40% {
		background: #1A1E24;
		box-shadow: 0px 0px 5px 1px #1A1E24;
	}
}

@keyframes flickr-svg {
	35%, 37%, 39%, 41%, 100% {
		stroke: #F1F4F5;
		filter: drop-shadow( 0px 0px 5px #F1F4F5 );
	}
	0%, 34%, 36%, 36%, 38%, 40% {
		stroke: #1A1E24;
		filter: drop-shadow( 0px 0px 3px #1A1E24 );
	}
}

            
          
!
999px
Loading ..................

Console