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 CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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="container">
	<div class="circle-container">
		<div class="window"></div>
		<div class="monitor">
			<div class="screen">
				<ul>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
					<li></li>
				</ul>
			</div>
		</div>
		<div class="girl-body"></div>
		<div class="girl-head"></div>
		<div class="neck"></div>
		<div class="catching-z">Z</div>
		<div class="catching-z lala">Z</div>
	</div>
</div>
            
          
!
            
              @import 'compass/css3';
$windowFrame : #af8d75;
html,body {
	background:#fad0d9;
	height:100%;
	width:100%;
}

.container {
	text-align:center;
	
	.circle-container {
		width:280px;
		height:280px;
		background:#fff;
		@include border-radius(100%);
		left: 50%;
		top: 50%;
		position:absolute;
		@include transform(translate(-50%,-50%));
		overflow:hidden;	
		animation: whenNight 20s infinite;
	}
	.window {
		background:#aadbea;
		width:159px;
		height:160px;
		border:8px solid #393d73;
		box-shadow:5px 5px 0px 0px #a6a9d3;
		-webkit-animation: colorchange 15s ease infinite; 
		animation: colorchange 15s ease infinite;
	}
	
	.monitor{
		width:170px;
		height:120px;
		background:#fff;
		border:8px solid #2c2f5f;
		border-bottom:20px solid #2c2f5f;
		position:absolute;
		left:50px;
		top:90px;
		@include border-radius(5px);
		padding:10px;
		.screen {
			width:100%;
			height:110px;
			background: #f191a2;
    			border-top: 15px solid #ef2148;
			@include border-radius(6px 6px 0px 0px);
			overflow:hidden;
			
			&:before {
				content:"";
				position:absolute;
				width:30px;
				height:110px;
				background:#f94163;
				left:10px
			}
			
			ul {
				list-style:none;
				position:relative;
				@include transition(all 0.5s ease);
				animation: codeMove 5s ease;
			}
			@for $i from 1 to 20 {
				$width: random(120);
				$color : #fff;
				@if $i % 2 ==0 {
					$color: #ef2148;
				} 
				li:nth-child(#{$i}) {
					width:$width+px;
					height:3px;
					background:$color;
					margin-top:7px;
					@include border-radius(100px);
				}				
			}

		}
	}
	.girl-head {
		width:90px;
		height:95px;
		background:#1f2029;
		position:absolute;
		top:36%;
		left : 50%;
		@include border-radius(100px);
		border-bottom: 5px solid #eaceba;
		border-left: solid 2px #1f2029;
		border-right: solid 2px #1f2029;
		@include transition(all 1s ease);
		&:before {
			height:40px;
			width:45px;
			content: "";
			position:absolute;
			background:#1f2029;
			left:35px;
			top:-30px;
			@include border-radius(100px);
		}
	}
	.girl-head-anim {
		transform: rotate(-20deg);
    		left: 43%;
		top:38.5%;
	}
	
	.neck {

		height:28px;
		width:15px;
		content: "";
		position:absolute;
		background:#eaceba;
		left:176px;
		top:188px;
		@include border-radius(100px);
	}
	.girl-body {
		height:130px;
		width:95px;
		background:#f88e19;
		position:absolute; 
		left:49%;
		top:74%;
		@include border-radius(200px);
		overflow:hidden;
		&:before {
			content: "";
			position:absolute;
			background:#eaceba;
			width:40px;height:24px;
			@include border-radius(100%);
			top:-12px;
			left:27px;
		}
	}
	@include keyframes("bgTransition") {
		0%{background:#8dcbe4}
		50%{background:#03214e}
		100%{background:#8dcbe4}
	}
	.catching-z {
		position:absolute;
		font-weight:bolder;
		color:#1f2029;
		font-size:25px;
		font-family:arial;
		left: 80px;
		top:100px;
		opacity:0;
		@include transform(rotate(-30deg) scale(0.5));
		@include transition(all 0.8s ease);
		@include animation(zs 2s ease infinite);
		@include animation-delay(3s);
		
	}
	.catching-z.lala {
		@include animation-delay(4s);
	}
	
}

@keyframes zs
{
	0% {top:140px;left:100px;opacity:0; @include transform(rotate(-30deg) scale(0.5)); }
	25% {top:140px;left:100px;opacity:1; @include transform(rotate(-30deg) scale(0.5));}
	50% {top:140px;left:100px;opacity:1; @include transform(rotate(-30deg) scale(0.5));}
	75% {top:100px;left:80px;opacity:0.5; @include transform(rotate(-30deg) scale(0.8))}
	100% {top:100px;left:80px;opacity:0; @include transform(rotate(-30deg) scale(0.8)); }
}

@keyframes codeMove {
	0%{top:0};
	100%{top:-120px}
}
            
          
!
            
              setTimeout(function() {
	$(".girl-head").addClass('girl-head-anim');
},3000)
            
          
!
999px
Loading ..................

Console