Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

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.

HTML

              
                <div class="bg"></div>
	<div class="table">
		<div class="tablecloth"></div>
		<section>
			<div class="mirror">
				<div class="intro">
					<p>1395</p>
					<h1>HAPPY<br>NOWROOZ</h1>
					<hr>
					<h2>Pure css (No Image) <a href="https://en.wikipedia.org/wiki/Haft-Seen" target="_blank">Haft-Seen</a><br>made with ♥ by<a href="https://twitter.com/alireza29675" target="_blank">Alireza Sheikholmolouki :)</a></h2>
				</div>
				<div class="sabze vase">
					<div><div></div></div>
				</div>
				<div class="bluelayer"></div>
			</div>
			<div class="candle vase">
				<div>
					<div></div>
				</div>
			</div>
			<div class="candle vase">
				<div>
					<div></div>
				</div>
			</div>
			<div class="egg vase">
				<div class="first"></div>
				<div class="second"></div>
				<div class="third"></div>
			</div>
			<div class="apple vase">
				<div id="apple">
					<div id="leaf"></div>
					<div id="stalk"></div>
					<div id="shade"></div>
				</div>
			</div>
			<div class="coin vase">
				<div></div>
				<div></div>
				<div></div>
				<div></div>
				<div></div>
				<div></div>
			</div>
			<div class="samanoo vase">
				<div></div>
			</div>
			<div class="somagh vase">
				<div></div>
			</div>
			<div class="senjed vase">
				<div></div>
				<div></div>
				<div></div>
				<div></div>
				<div></div>
				<div></div>
				<div></div>
				<div></div>
			</div>
			<div class="onion vase">
				<div class="onion-body"><div class="inside"></div><div class="top"></div></div>
				<div class="onion-body"><div class="inside"></div><div class="top"></div></div>
				<div class="onion-body"><div class="inside"></div><div class="top"></div></div>
			</div>
			<div class="sabze vase">
				<div><div></div></div>
			</div>
			<div class="tong">
				<div class="glass"></div>
				<div class="water"></div>
				<div class="fish">
					<div class="shape">
						<div class="red"></div>
					</div>
				</div>
			</div>
		</section>
	</div>
              
            
!

CSS

              
                body {
	padding: 0;
	margin: 0;
	overflow: hidden;
}
.bg {
	position: fixed;
	background: #a9e4f7;
	background: #deeff4;
	background: -moz-radial-gradient(center, ellipse cover,  #deeff4 0%, #89d0e5 100%);
	background: -webkit-radial-gradient(center, ellipse cover,  #deeff4 0%,#89d0e5 100%);
	background: radial-gradient(ellipse at center,  #deeff4 0%,#89d0e5 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#deeff4', endColorstr='#89d0e5',GradientType=1 );
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: -9999;
}
.vase {
	position: absolute;
	transform: translateX(-50%);
}
.vase:after {
	content: " ";
	position: absolute;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: -moz-linear-gradient(top,  rgba(134,134,134,0.3) 0%, rgba(134,134,134,0.57) 100%);
	background: -webkit-linear-gradient(top,  rgba(134,134,134,0.3) 0%,rgba(134,134,134,0.57) 100%);
	background: linear-gradient(to bottom,  rgba(134,134,134,0.3) 0%,rgba(134,134,134,0.57) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d868686', endColorstr='#91868686',GradientType=0 );
	transform: translateY(-51%) scaleY(0.21);
	box-shadow: inset 0 -3px 10px rgba(0,0,0,0.15), 0 3px 5px rgba(0,0,0,0.2);
}
.vase:before {
	content: " ";
	position: absolute;
	width: 100px;
	height: 150px;
	border-radius: 50%;
	background: -moz-linear-gradient(top,  rgba(134,134,134,0.3) 0%, rgba(134,134,134,0.57) 100%);
	background: -webkit-linear-gradient(top,  rgba(134,134,134,0.3) 0%,rgba(134,134,134,0.57) 100%);
	background: linear-gradient(to bottom,  rgba(134,134,134,0.3) 0%,rgba(134,134,134,0.57) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d868686', endColorstr='#91868686',GradientType=0 );
	transform: translateY(-48%) translateX(25%) scaleY(0.1);	
	box-shadow: inset 0 -3px 10px rgba(0,0,0,0.15), 0 3px 5px rgba(0,0,0,0.2);
}
.table {
	position: absolute;
	top: 50%;
	left: 50%;
	perspective: 200px;
	transform: translateY(40px);
}
/* ----------------------- POSITIONS ---------------------------- */
.egg.vase {
	top: 220px;
	left: -200px;
	transform: scale(1.1);
	z-index: 5;
}
.coin.vase {
	top: 150px;
	left: -250px;
	z-index: 2;
}
.samanoo.vase {
	top: 145px;
	left: 90px;
	z-index: 3;
}
.senjed.vase {
	top: 110px;
	left: 200px;
}
.apple.vase {
	top: 180px;
	left: -400px;
	z-index: 2;
}
.onion.vase {
	top: 110px;
	left: -340px;
}
.sabze.vase {
	top: 100px;
	left: -130px;
}
.somagh.vase {
	top: 190px;
	left: 170px;
}
.candle.vase:nth-child(2) {
	top: 65px;
	left: -250px;
}
.candle.vase:nth-child(3) {
	top: 65px;
	left: 175px;
}


/* ------------------------------- Candle --------------------------------- */
.candle.vase {
	transform: scale(0.5);
}
.candle.vase > div {
	z-index: 1;
	width: 70px;
	height: 500px;
	position: absolute;
	bottom: -10px;
	left: 40px;
	background: rgb(239,197,202);
	background: -moz-linear-gradient(left,  rgba(239,197,202,1) 0%, rgba(210,75,90,1) 50%, rgba(186,39,55,1) 51%, rgba(241,142,153,1) 100%);
	background: -webkit-linear-gradient(left,  rgba(239,197,202,1) 0%,rgba(210,75,90,1) 50%,rgba(186,39,55,1) 51%,rgba(241,142,153,1) 100%);
	background: linear-gradient(to right,  rgba(239,197,202,1) 0%,rgba(210,75,90,1) 50%,rgba(186,39,55,1) 51%,rgba(241,142,153,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efc5ca', endColorstr='#f18e99',GradientType=1 );
	border-radius: 100% / 3%;
}
.candle.vase > div:after {
	content: " ";
	width: 6px;
	height: 25px;
	border-radius: 20px 20px 0px 0px;
	position: absolute;
	background: brown;
	top: -25px;
	left: 32px;
	z-index: -1;
}
.candle.vase > div > div {
	animation-name: candlefire;
	animation-duration: 1s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
.candle.vase > div > div, .candle.vase > div > div:after {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	position: absolute;
	top: -125px;
	left: -60px;
	overflow: hidden;
}
.candle.vase > div > div:after {
	background: rgb(233,247,39);
background: -moz-linear-gradient(top,  rgba(233,247,39,1) 0%, rgba(247,150,33,1) 100%);
background: -webkit-linear-gradient(top,  rgba(233,247,39,1) 0%,rgba(247,150,33,1) 100%);
background: linear-gradient(to bottom,  rgba(233,247,39,1) 0%,rgba(247,150,33,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9f727', endColorstr='#f79621',GradientType=0 );

	content: " ";
	position: absolute;
	left: 70px;
	top: 0;
}

@keyframes candlefire {
	0% {
		opacity: 0.9;
		transform: scale(1);
	}
	50% {
		opacity: 0.6;
		transform: scale(1.1) translateX(-3px);
	}
	100% {
		opacity: 0.9;
		transform: scale(1);
	}
}

/* ------------------------------- Table Cloth --------------------------------- */
.tablecloth {
	position: absolute;
	top: 0px;
	left: 0;
	width: 800px;
	height: 200px;
	border: 10px solid rgba(0,0,0,0.3);
	transform: rotateX(50deg) translate(-50%, 0%);
	z-index: -1;
	background: #feffe8;
	background: -moz-radial-gradient(center, ellipse cover,  #feffe8 0%, #e7edc9 41%, #c3c9b1 100%);
	background: -webkit-radial-gradient(center, ellipse cover,  #feffe8 0%,#e7edc9 41%,#c3c9b1 100%);
	background: radial-gradient(ellipse at center,  #feffe8 0%,#e7edc9 41%,#c3c9b1 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feffe8', endColorstr='#c3c9b1',GradientType=1 );

}

/* ------------------------------- EGG -----------------------------------------*/
.egg.vase > div {
	position: absolute;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transform: scaleY(1.3);
	box-shadow: inset 0 -3px 10px rgba(0,0,0,0.15), 0 3px 5px rgba(0,0,0,0.2);
	z-index: 1;
}
.egg.vase > div.first {
	background: #feccb1;
	background: -moz-linear-gradient(top,  #feccb1 0%, #f17432 50%, #ea5507 51%, #fb955e 100%);
	background: -webkit-linear-gradient(top,  #feccb1 0%,#f17432 50%,#ea5507 51%,#fb955e 100%);
	background: linear-gradient(to bottom,  #feccb1 0%,#f17432 50%,#ea5507 51%,#fb955e 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feccb1', endColorstr='#fb955e',GradientType=0 );
	transform: translateY(-39px) translateX(25px) rotate(-40deg) scaleY(1.3);
}
.egg.vase > div.second {
	background: linear-gradient(-55deg, #ffeeb0 10%, #a2d49f 30%, #a2d49f 40%, #c7c12f 40%, #c7c12f 50%, #f26247 50%, #f26247 60%, #ec2045 60%, #ec2045 70%, #ffeeb0 75% );
   	transform: translateY(-42px) translateX(55px) rotate(5deg) scaleY(1.3);
}
.egg.vase > div.third {
	background: #fceabb;
	background: -moz-linear-gradient(top,  #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%);
	background: -webkit-linear-gradient(top,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%);
	background: linear-gradient(to bottom,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=0 );
	transform: translateY(-37px) translateX(90px) rotate(60deg) scaleY(1.3);
}

/* -------------------------- Apple ------------------------------ */
#apple {
	transform: scale(0.7);
	margin: 100px auto auto;
	z-index: 1;
	top:-205px;
	left: 10px;
	display:block;
	width: 126px;
	height: 130px;
	background-color: red;
	border-radius: 60%  60%  60%  60%  / 50%   50%   90%  90%;
	position: absolute;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ff2222), color-stop(1, #A20820));
	box-shadow: inset 0px -8px 15px rgba(0,0,0,0.2), inset 0px 8px 15px rgba(255,200,200,0.4);
}
#apple:after {
	content: " ";
	z-index: -1;
	position: absolute;
	top: 35px;
	left: -10px;
	width: 150px;
	height: 20px;
	border-radius: 50%;
	box-shadow: 0px 80px 50px #000;
}
#stalk {
	top:-22px;
	left: 3px;
	background-color:brown;
	height: 30px;
	width: 10px;
	position: relative;
	display: block;
	margin: auto;
	border-radius: 60%  60%  60%  60%  / 50%   50%   90%  90%;
	transform: rotate(25deg);
}
#shade {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	box-shadow: 5px -5px 1px 0 rgba(255,255,255,0.3);
	display: inline;
	position: absolute;
	top: 25px;
	right: 22px;
}
#leaf {
	position: absolute;
	border-top: 15px solid green;
	border-radius: 40px 0 0 0;
	top: -26px;
	left: 5px;
	width: 50px;
	height: 50px;
	transform: rotate(30deg);
}

/* -------------------------- Coin ------------------------------ */
.coin.vase {
	perspective: 1000px;
}
.coin.vase > div {
	width: 30px;
	height: 30px;
	background: rgb(250,210,0);
	border-radius: 50%;
	position: absolute;
	z-index: 1;
	top: -16px;
	left: 55px;
	box-shadow: inset 0 -3px 10px rgba(0,0,0,0.15), 0 3px 5px rgba(0,0,0,0.35);
}
.coin.vase > div:nth-child(2) { transform: rotateX(65deg) translateX(-30px) translateY(-5px) rotateZ(10deg);}
.coin.vase > div:nth-child(1) { transform: rotateX(65deg) translateX(-10px) translateY(-5px) rotateZ(30deg);}
.coin.vase > div:nth-child(3) { transform: rotateX(65deg) translateX(0px) translateY(0px) rotateZ(0deg);}
.coin.vase > div:nth-child(5) { transform: rotateX(65deg) translateX(20px) translateY(-5px) rotateZ(20deg);}
.coin.vase > div:nth-child(4) { transform: rotateX(65deg) translateX(40px) translateY(-5px) rotateZ(40deg);}
.coin.vase > div:nth-child(6) { transform: rotateX(65deg) translateX(-20px) translateY(5px) rotateZ(40deg);}

/* -------------------------- Samanoo & Somagh ------------------------------ */
.samanoo.vase {
	perspective: 50px;
	perspective-origin: 65px -20px;
}
.samanoo.vase > div, .somagh.vase > div {
	width: 70px;
	height: 50px;
	background: linear-gradient(#754737, #43291A);
	position: absolute;
	border-radius: 50% 50% 30% 30%;
	transform: rotateX(80deg);
	top: -35px;
	left: 36px;
	z-index: 1;
}

.somagh.vase {
	perspective: 50px;
	perspective-origin: 75px -20px;
}
.somagh.vase > div {
	left: 39px;
	background: linear-gradient(#A34142, #65150A);
}

/* -------------------------- Senjed ------------------------------ */
.senjed.vase {
	perspective: 1000px;
}
.senjed.vase > div {
	width: 30px;
	height: 30px;
	background: linear-gradient(#8A5432, #77340A);
	border-radius: 50%;
	position: absolute;
	z-index: 1;
	top: -16px;
	left: 55px;
	box-shadow: inset 0 -3px 10px rgba(0,0,0,0.15), 0 3px 5px rgba(0,0,0,0.35);
}
.senjed.vase > div:nth-child(2) { transform: rotateX(60deg) translateX(-30px) translateY(-5px) rotateZ(10deg);}
.senjed.vase > div:nth-child(1) { transform: rotateX(50deg) translateX(-10px) translateY(-5px) rotateZ(30deg);}
.senjed.vase > div:nth-child(3) { transform: rotateX(60deg) translateX(0px) translateY(0px) rotateZ(0deg);}
.senjed.vase > div:nth-child(5) { transform: rotateX(60deg) translateX(20px) translateY(-5px) rotateZ(20deg);}
.senjed.vase > div:nth-child(6) { transform: rotateX(65deg) rotateY(20deg) translateX(10px) translateY(-20px) rotateZ(40deg);}
.senjed.vase > div:nth-child(4) { transform: rotateX(60deg) rotateY(-10deg) translateX(-20px) translateY(-2px) rotateZ(40deg);}
.senjed.vase > div:nth-child(7) { transform: rotateX(55deg) rotateY(10deg) translateX(0px) translateY(5px) rotateZ(40deg);}
.senjed.vase > div:nth-child(8) { transform: rotateX(60deg) translateX(40px) translateY(-5px) rotateZ(40deg);}

/* -------------------------- Onion ------------------------------ */
.onion.vase {
	perspective: 200px;
}
.onion.vase > div {
	position: absolute;
	z-index: 1;
	perspective: 50px;
	perspective-origin: 20px;
}
.onion.vase > div > .inside {
	width: 50px;
	height: 50px;
	position: absolute;
	background: linear-gradient(#F1D8BA, #B18958);
	border-radius: 50% 50% 40% 40%;
	transform: rotateX(30deg) scaleY(0.8);
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
}	
.onion.vase > div > .inside:before, .onion.vase > div > .inside:after {
	content: " ";
	width: 40px;
	height: 50px;
	position: absolute;
	top: 0;
	left: 5px;
	border-radius: 50%;
	box-shadow: inset 0px 0px 15px rgba(74,41,7,0.3);
}
.onion.vase > div > .inside:after {
	width: 20px;
	left: 15px;
}
.onion.vase > div > .top {
	box-shadow: inset 0px 0px 5px rgba(74,41,7,0.3);
	position: absolute;
	width: 10px;
	height: 20px;
	background: linear-gradient(#B18958, #F1D8BA);
	border-radius: 100px / 400px;
	transform: rotateX(60deg);
	left: 20px;
	top: -8px;
	z-index: -1;
}
.onion.vase > div:nth-child(1) {
	top: -45px;
	left: 20px;
	transform: rotate(-10deg);
	-webkit-filter: brightness(0.9);
	filter: brightness(0.9);
}
.onion.vase > div:nth-child(2) {
	top: -56px;
	left: 80px;
	transform: rotate(15deg);
	-webkit-filter: brightness(0.9);
	filter: brightness(0.9);
}
.onion.vase > div:nth-child(3) {
	top: -48px;
	left: 50px;
}

/* -------------------------- Sabze ------------------------------ */
.sabze.vase {
	transform: scale(1.8);
	perspective: 200px;
}
.sabze.vase > div {
	position: absolute;
	width: 100px;
	height: 80px;
	background: linear-gradient(rgb(120, 181, 39), rgb(91, 120, 27));
	border-radius: 50% / 10%;
	z-index: 1;
	top: -71px;
	left: 24px;
}
.sabze.vase > div:before {
	content: " ";
	position: absolute;
	width: 1px;
	height: 70px;
	background: rgba(0,0,0,0.05);
	left: 5px;
	top: 5px;
	box-shadow:
		-2px 0px 0px rgba(0,0,0,0.1),
		5px 0px 0px rgba(0,0,0,0.1),
		10px 0px 0px rgba(0,0,0,0.1),
		15px 0px 0px rgba(0,0,0,0.1),
		20px 0px 0px rgba(0,0,0,0.1),
		25px 0px 0px rgba(0,0,0,0.1),
		30px 0px 0px rgba(0,0,0,0.1),
		35px 0px 0px rgba(0,0,0,0.1),
		40px 0px 0px rgba(0,0,0,0.1),
		45px 0px 0px rgba(0,0,0,0.1),
		50px 0px 0px rgba(0,0,0,0.1),
		55px 0px 0px rgba(0,0,0,0.1),
		60px 0px 0px rgba(0,0,0,0.1),
		65px 0px 0px rgba(0,0,0,0.1),
		70px 0px 0px rgba(0,0,0,0.1),
		75px 0px 0px rgba(0,0,0,0.1),
		80px 0px 0px rgba(0,0,0,0.1),
		85px 0px 0px rgba(0,0,0,0.1),
		90px 0px 0px rgba(0,0,0,0.1),
		93px 0px 0px rgba(0,0,0,0.1);
}
.sabze.vase > div:after {
	content: " ";
	width: 100px;
	height: 25px;
	position: absolute;
	background: linear-gradient(rgb(244, 115, 58), rgb(226, 62, 24));
	top: 40px;
	border-radius: 50% / 20%;
}
.sabze.vase > div > div:before, .sabze.vase > div > div:after {
	content: " ";
	position: absolute;
	width: 25px;
	height: 30px;
	z-index: 1;
	background: linear-gradient(rgb(244, 115, 58), rgb(226, 62, 24));
	border-radius: 80% / 20%;
	top: 38px;
	left: 30px;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
	transform: rotateY(30deg);
}
.sabze.vase > div > div:after {
	width: 15px;
	left: 50px;
	transform: rotateY(-30deg);
}

/* -------------------------- tong ------------------------------ */
.tong {
	position: absolute;
	top: 73px;
	left: -25px;
	width: 150px;
	height: 150px;
	border-radius: 50% / 55%;
	z-index: 5;
	overflow: hidden;
	box-shadow:
		inset 0px -20px 20px rgba(0,0,0,0.4), 
		inset 0px -10px 10px rgba(255,255,255,1),
		inset 0px -10px 3px #000;
	transform: scale(1.15);
	perspective: 200px;
}
.tong > .water {
	width: 160px;
	height: 90px;
	background-color: rgba(113,203,243,0.6);
	position: absolute;
	bottom: 0;
	left: 0;
}
.tong > .glass {
	width: 160px;
	height: 30px;
	background-color: rgba(255,255,255,0.4);
	position: absolute;
	bottom: 90px;
	left: 0;
}
.tong > .fish > .shape {
	width: 50px;
	height: 30px;
	border-radius: 50%;
	overflow: hidden;
	position: absolute;
	top: 0px;
	left: 0px;
	transform: rotate(10deg);
}
.tong > .fish {
	position: absolute;
	top: 100px;
	left: 60px;
	transition-duration: 0.5s;
	animation-name: fishmove;
	animation-duration: 20s;
	animation-iteration-count: infinite;
}
.tong > .fish:after {
	content: " ";
	width: 0; 
	height: 0; 
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 15px solid red;
	position: absolute;
	top: 0px;
	left: -3px;
}
.tong > .fish:before {
	content: " ";
	width: 0; 
	height: 0; 
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 15px solid red;
	position: absolute;
	top: -5px;
	left: 12px;
}
.tong > .fish > .shape > .red {
	width: 50px;
	height: 20px;
	border-radius: 50%;
	background: #f85032;
	background: -moz-linear-gradient(top,  #f85032 0%, #f16f5c 50%, #f6290c 51%, #f02f17 71%, #e73827 100%);
	background: -webkit-linear-gradient(top,  #f85032 0%,#f16f5c 50%,#f6290c 51%,#f02f17 71%,#e73827 100%);
	background: linear-gradient(to bottom,  #f85032 0%,#f16f5c 50%,#f6290c 51%,#f02f17 71%,#e73827 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f85032', endColorstr='#e73827',GradientType=0 );
	position: absolute;
	top: -5px;
	left: -10px;
}
.tong > .fish > .shape > .red:after {
	content: " ";
	width: 2px;
	height: 2px;
	background: rgba(100,0,0,0.9);
	position: absolute;
	top: 9px;
	right: 4px;
}

@keyframes fishmove {
	0% {
		transform: rotateY(180deg);
		left: 100px;
		top: 70px;
	}
	20% {
		transform: rotateY(180deg);
		left: 50px;
		top: 75px;
	}
	40% {
		transform: rotateY(0deg);
		left: 100px;
		top: 100px;
	}
	60% {
		transform: rotateY(0deg);
		left: 110px;
		top: 80px;
	}
	80% {
		transform: rotateY(180deg);
		left: 50px;
		top: 110px;
	}
	90% {
		transform: rotateY(0deg);
		left: 100px;
		top: 70px;
	}
	100% {
		transform: rotateY(180deg);
		left: 100px;
		top: 70px;
	}
}

/* -------------------------- Mirror ------------------------------ */
.mirror {
	width: 300px;
	height: 350px;
	background: rgb(186, 229, 248);
	border: 10px solid rgb(244, 234, 207);
	position: absolute;
	top: -300px;
	left: -160px;
	overflow: hidden;
	box-shadow: 0px 0px 100px rgba(0,0,0,0.2);
}
.mirror:after, .mirror:before {
	content: " ";
	width: 3px;
	height: 180px;
	background: #f2f9fe;
	background: -moz-linear-gradient(top,  #f2f9fe 0%, #d6f0fd 100%);
	background: -webkit-linear-gradient(top,  #f2f9fe 0%,#d6f0fd 100%);
	background: linear-gradient(to bottom,  #f2f9fe 0%,#d6f0fd 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f9fe', endColorstr='#d6f0fd',GradientType=0 );
	position: absolute;
	top: 20px;
	right: 100px;
	opacity: 0.8;
	pointer-events: none;
	transform: rotate(30deg);
}
.mirror:before {
	height: 100px;
	transform: rotate(30deg);
}
.mirror .sabze {
	top: 360px;
	left: 15px;
	transform: scale(1.1);
}
.mirror .bluelayer {
	background: -moz-linear-gradient(top,  rgba(125,185,232,0) 0%, rgba(92,176,181,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(125,185,232,0) 0%,rgba(92,176,181,1) 100%);
	background: linear-gradient(to bottom,  rgba(125,185,232,0) 0%,rgba(92,176,181,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007db9e8', endColorstr='#5cb0b5',GradientType=0 );
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0.5;
	top: 0;
	pointer-events: none;
}



/* --------------------- Intro ----------------- */
.intro h1, .intro h2, .intro h2 a{
	text-align: center;
	font-family: 'segoe ui', Arial;
	font-size: 30px;
	color: #BF3140;
}
.intro hr {
	width: 200px;
}
.intro p {
	position: absolute;
	left: 50%;
	top: -10px;
	transform: translateX(-50%);
	font-family: Tahoma;
	font-weight: bold;
	font-size: 30px;
	color: rgba(255,255,255,0.4);
}
.intro h1 {
	padding-top: 30px;
	font-size: 50px;
	line-height: 40px;
	margin-bottom: 10px;
	background: -webkit-radial-gradient(center, ellipse cover,  rgba(243,197,189,1) 0%,rgba(232,108,87,1) 50%,rgba(234,40,3,1) 51%,rgba(255,102,0,1) 75%,rgba(199,34,0,1) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.intro h2 {
	font-weight: normal;
	margin-top: 0px;
	font-size: 15px;
	padding: 0px 30px;
	line-height:25px;
	opacity: 0.3;
	transition-duration: 0.5s;
	transform: scale(0.5);
	-webkit-filter: blur(4px);
	filter: blur(4px);
	perspective: 250px;
}
.intro h2 a {
	font-size: 15px;
	background: rgba(244, 234, 207, 0.5);
	text-decoration: none;
	padding: 0px 5px;
	display: inline-block;
	transition-duration: 0.5s;
	transform: scale(1) rotateX(0deg);
}
.intro h2 a:hover {
	transform: scale(1.2) rotateX(60deg);
	background: rgba(244, 234, 207, 1);
}
.intro h2 a:active {
	transition-duration: 0.2s;
	transform: scale(0.8) rotateX(0deg);
	background: rgba(244, 234, 207, 1);
}
.mirror:hover .intro h2 {
	opacity: 1;
	-webkit-filter: blur(0px);
	filter: blur(0px);
	transform: scale(1.2);
}
              
            
!

JS

              
                /*
  ->BETTER VIEW ON GOOGLE CHROME<-
  ->Change View to Full Screen and Enjoy<-
  ->Happy Nowrooz Eid<-

   Pure css (No Image) Haft-Seen by
      Alireza Sheikholmolouki
      
   Share this pen if you like it :)
   
   and this is my twitter account if you want to follow me:
      @alireza29675
      
      Made with love^_^
*/
              
            
!
999px

Console