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 Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

              
                
<head>
	<meta charset='utf-8' />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta name="description" content="" />
</head>
<body>
	<div class="container">
		<div class="ani">
			<div class="a1"><span><b></b></span></div>
			<div class="a2"><span><b></b></span></div>
			<div class="a3"><span><b></b></span></div>
			<div class="a4"><span><b></b></span></div>
			<div class="a5"><span><b></b></span></div>
			<div class="a6"><span><b></b></span></div>
			<div class="a7"><span><b></b></span></div>
			<div class="a8"><span><b></b></span></div>
			<div class="a9"><span><b></b></span></div>
			<div class="a10"><span><b></b></span></div>
		</div>
		<div role="main" class="home">
			<!-- <img src="images/fluid.png" alt="" class="fluid" /> -->
			<div>
				<h1>Love Responsive.</h1>
				<p class="intro">
          <a href="#">1</a>,
          <a href="#">2</a> and
          <a href="#">else</a> content.</p>
			</div>
		</div>
		<footer role="contentinfo">   
     css is awesome
		</footer>
	</div>
</body>

              
            
!

CSS

              
                /*
red: #e51837; rgb(229,24,55)
gray: #808080;
*/
* { 
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box; 
}
html, body, div, object, iframe, fieldset { 
	margin: 0; 
	padding: 0; 
	border: 0;
} 
ol, ul { 
	list-style: none;
	margin: 0;
	padding: 0;
} 
table { 
	border-collapse: collapse; 
	border-spacing: 0; 
}
header, footer, nav, section, article, hgroup, figure {
	display: block;	
}
legend {
	display: none;
}
/************End Reset**************/

/************Global**************/
body {
	background: #fff;
	color: #000;
	font: 100%/1.4 "HelveticaNeue", "Helvetica", "Arial", sans-serif;
	padding: 0;
	-webkit-text-size-adjust: none;
}
a {
	color: #808080;
	text-decoration: none;
}
a:hover, a:focus {
	color: #e51837;
}
p {
	margin: 0 0 1em;
}
img, object, video {
	max-width: 100%;
	border: 0;
}
a img {
	border: 0;
	outline: 0;
}
h1 {
	font-size: 3em;
	line-height: 1;
	letter-spacing: -0.02em;
	margin-bottom: 0.2em;
}
h2 {
	font-size: 2em;
	line-height: 1.1;
	margin-bottom: 0.2em;
}
h3 {
	font-weight: normal;
	line-height: 1.1;
	padding-bottom: 0.4em;
	border-bottom: 1px solid #ccc;
}
h1 a, h2 a, h3 a {
	display: block;
	color: #000;
}
h1 a:hover, h2 a:hover, h3 a:hover {
	color: #e51837;
}
blockquote {
	border-left: 0.5em solid #ddd;
	padding-left: 1em;
	margin-left: 1em;
}
small {
	color: #e51837;
}
input[type=search] {
	-webkit-appearance: none;
	border-radius: 0;
}
::-webkit-input-placeholder {
	color: #808080;
}
:-moz-placeholder {  
    color: #808080;
}
/************End Global**************/

/************Classes**************/
.inactive {
	color: #ddd;
}
/************End Classes**************/

/************Structure**************/
.container {
	max-width: 70em;
	margin: 0 auto;
	padding: 0 1em;
	overflow: hidden;
}
div[role=main] {
	padding-bottom: 1em;
}

/*Footer*/
footer[role=contentinfo] {
	color: #fff;
	background: #000;
	margin: 0 -1em;
	position: relative;
	z-index: 2;
}
footer[role=contentinfo] > div {
	max-width: 70em;
	padding: 0 1em;
	margin: 0 auto;
	overflow: hidden;
}
footer[role=contentinfo] p {
	margin: 0;
}
footer[role=contentinfo] .nav li a {
	display: block;
	border-bottom: 1px solid #808080;
	padding: 1em;
	margin: 0 -1em;
}
footer[role=contentinfo] a {
	display: inline-block;
	padding: 0.5em 0;
}
footer[role=contentinfo] a.nav-home {
	color: #fff;
}
footer[role=contentinfo] .f-rga {
	padding: 0.6em 0;
}
footer[role=contentinfo] img {
	max-width: 4.4em;
	display: inline-block;
	margin-bottom: -0.22em;
}
/*End Footer*/

/*Grid*/
.grid {
	margin: 0 -1em;
	overflow: hidden;
}
.grid:target {
	-webkit-animation: fadeout 5s 1 ease-out;
    -moz-animation: fadeout 5s 1 ease-out; 
    -o-animation: fadeout 5s 1 ease-out;
    animation: fadeout 5s 1 ease-out; 
}
.grid > h2 {
	margin-left: 0.45em;
}
.grid > section {
	padding: 1em 1em 0.5em;
}
.grid > section:target {
	-webkit-animation: fadeout 5s 1 ease-out;
    -moz-animation: fadeout 5s 1 ease-out; 
    -o-animation: fadeout 5s 1 ease-out;
    animation: fadeout 5s 1 ease-out; 
}
.grid ul {
	overflow: hidden;
}
.grid ul li {
	margin-bottom: 0.3em;
}
.featured:after {
	content: "*";
	color: #e51837;
}

/*Fluid*/
.fluid {
	display: block;
	margin: 0 auto;
	max-width: 40em;
}

/*Homepage*/
.home h1 {
	margin-bottom: 0.2em;
}
.intro {
	font-size: 1.8em;
	line-height: 1.2;
	margin: 0 auto;
}
.intro a:hover ,.intro a:focus {
	color: #000;
	border-bottom-color: #000;
}

.ani {
	position: relative;
	height: 15em;
	margin: 1em 0 0;
	width: 100%;
	z-index: 0;
}
.ani div {
	width: 100%;
}
.ani div b {
	display: block;
	position: absolute;
	top: 5%;
	right: 5%;
	bottom: 5%;
	left: 5%;
	background: rgba(229,24,55,0.22);
}


/*Patterns*/
.mod {
	padding: 1em;
}
.pattern {
	background: #f7f7f7;
	border-bottom: 1px solid #808080;
	margin-bottom: 1em;
	overflow: hidden;
}
.pattern-description h1 {
	font-size: 3.4em;
	margin-bottom: 0.5em;
}
.pattern-description {
	max-width: 40em;
	margin: 0 auto;
}
.pattern-description ul, .pattern-description ol {
	margin-bottom: 2em;
}
.pattern-description li {
	margin-bottom: 1em;
}


/*Blog*/
/*Blog Header*/
.blog .container {
	max-width: 62em;
}
.blog header[role=banner] {
	overflow: hidden;
	margin-bottom: 2em;
	padding: 2em 0 1em;
	border-bottom: 1px solid #000;
}
.blog-logo {
	font-weight: normal;
	font-size: 1.2em;
	margin: 0 0 1em;
}
.blog-logo img {
	width: 3.3em;
}
.blog-logo a {
	color: #000;
}
.search-form {
	width: 100%;
	margin-bottom: 1em;
}
.search-field {
	width: 100%;
	padding: 0.5em 0;
	border: 0;
	border-bottom: 1px solid #808080;
	outline: none;
}
.search-field:focus {
	background: #e51837;
	color: #fff;
}
.search-field:focus::-webkit-input-placeholder {
   color: #fff;
}

.search-field:focus :-moz-placeholder {  
   color: #fff; 
}

.blog .nav {
	clear: both;
}
.blog .nav a {
	display: block;
	font-weight: bold;
	color: #000;
}
.blog .nav a:hover {
	color: #e51837;
}

/*Posts*/
.posts ol > li {
	padding-bottom: 1em;
	border-bottom: 1px solid #ccc;
	margin-bottom: 1em;
	overflow: hidden;
} 
.posts h2 {
	font-size: 1.4em;
	margin: 0.28em 0 0.1em;
	font-weight: normal;
}
.posts h2 a {
	color: #000;
}
.posts h2 a:hover, .posts h2 a:focus {
	color: #e51837;
}
.permalink {
	display: block;
	font-size: 0.8em;
	margin-bottom: 1.2em;
}
.post-body a {
	border-bottom: 1px solid #ccc;
}
.posts blockquote {
	margin: 0 0 1em;
	color: #666;
	border-left: 0.25em solid #ccc;
	padding-left: 1em;
}
.tags {
	float: left;
}
.tags li {
	display: inline-block;
	font-size: 0.8em;
	margin-right: 0.5em;
}

.posts ol > li .tags a, .permalink {
	color: #ccc;
	-webkit-transition: color 0.3s ease-out;  
     -moz-transition: color 0.3s ease-out;  
      -ms-transition: color 0.3s ease-out;  
       -o-transition: color 0.3s ease-out;  
          transition: color 0.3s ease-out;
}
.posts ol > li:hover .tags a, .posts ol > li:hover .permalink {
	color: #808080;
}
.blog-nav {
	text-align: center;
	overflow: hidden;
	padding: 1em 0;
}
.posts .blog-nav a {
	border: 0;
}
.nav-next {
	float: right;
}
.nav-prev {
	float: left;
}

/* Sidebar */
.sidebar {
	font-size: 0.8em;
	padding-bottom: 1.4em;
}
.sidebar div {
	margin-bottom: 2em;
}
.sidebar h3 {
	font-weight: bold;
	font-size: 0.9em;
	line-height: 1;
	border-bottom: 1px solid #000;
}
.sidebar a {
	color: #808080;
}
.sidebar a:hover, .sidebar a:focus {
	color: #e51837;
}
.social-links {
	overflow: hidden;
}
.social-links li {
	float: left;
	margin-right: 1.2em;
}
.social-links li a {
	display: block;
	height: 17px;
	width: 16px;
	text-indent: -99999em;
	background: url(images/sprite_social.png) no-repeat;
}
.social-links li a.s-fb {
	background-position: -0px -76px;
}
.social-links li a.s-fb:hover {
	background-position: -16px -76px;
}
.social-links li a.s-twitter {
	background-position: -0px -37px;
}
.social-links li a.s-twitter:hover {
	background-position: -16px -37px;
}
.social-links li a.s-linkedin {
	background-position: -0px -113px;
}
.social-links li a.s-linkedin:hover {
	background-position: -16px -113px;
}
.social-links li a.s-rss {
	background-position: -0px -0px;
}
.social-links li a.s-rss:hover {
	background-position: -16px -0px;
}



.top {
	clear: both;
	display: block;
	padding: 1em 0;
}
.top:before {
	content: '▲';
}

/******Media Queries*******/

/* Medium Screens*/
@media all and (min-width: 35em) {
	.blog-logo {
		float: left;
		font-size: 2em;
		margin: 0 0 1em;
	}
	.blog-logo img {
		width: auto;
	}
}
@media all and (min-width:40em) {
	h1 {
		font-size: 5.6em;
	}
	.container {
		padding-bottom: 4em;
	}
	footer[role=contentinfo] {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		margin: 0;
	}
	footer[role=contentinfo] .nav {
		float: left;
	}
	footer[role=contentinfo] .nav li {
		display: inline-block;
		margin-right: 0.8em;
	}
	footer[role=contentinfo] .nav li a {
		border: 0;
	}
	footer[role=contentinfo] .f-rga {
		float: right;
	}
	.grid ul li {
		width: 50%;
		float: left;
	}
	.grid ul li:nth-child(odd) {
		padding-right: 1em;
		clear: left;
	}
	.ani {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 4em;
		left: 0;
		width: 100%;
		height: 90%;
		margin: 0;
		z-index: 0;
	}
	.home {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 5em;
		left: 0;
		z-index: 1;
		width: 100%;
		height: 90%;
		display: table;
		text-align: center;
		color: #fff;
		color: rgba(255,255,255,0.7);
	}
	.home > div {
		display: table-cell;
		vertical-align: middle;
	}
	.home .intro a {
		color: #fff;
		color: rgba(255,255,255,0.8);
		border-bottom: 1px solid rgba(255,255,255,0.8);
	}
	.home .intro a:hover, .home .intro a:focus {
		color: #000;
		border-bottom-color: #000;
	}
	
	
	/*Blog*/
	
	.search-form {
		float: right;
		width: 30%;
		max-width: 16em;
		padding-left: 0.8em;
		margin-top: 0.4em;
	}
	
	.posts {
		float: left;
		width: 64%;
	}
	.sidebar {
		float: right;
		width: 30%;
		max-width: 21em;
		margin: 0 0 1em;
		padding-left: 0.8em;
	}
}


/* Large Screens */
@media all and (min-width: 54em) {
	h1 {
		font-size: 6.4em;
	}
	.grid > section {
		float: left;
		width: 33.3333333%;
	}
	.grid > section:nth-of-type(3n+1) {
		clear: left;
	}
	.grid ul li {
		width: auto;
		float: none;
	}
	.grid ul li:nth-child(odd) {
		padding-right: 0;
	}
}	


/* CSS Animations */
@-webkit-keyframes fadeout {
  0%   { background: #fff; }
  10%   { background: #eee; }
  100% { background: #fff; }
}
@-moz-keyframes fadeout {
  0%   { background: #fff; }
  10%   { background: #eee; }
  100% { background: #fff; }
}
@-o-keyframes fadeout {
  0%   { background: #fff; }
  10%   { background: #eee; }
  100% { background: #fff; }
}
@keyframes fadeout {
  0%   { background: #fff; }
  10%   { background: #eee; }
  100% { background: #fff; }
}
.ani div.a1 b {
	-webkit-animation: box-resize 10s infinite alternate both;
	-moz-animation: box-resize 10s infinite alternate both;
	-ms-animation: box-resize 10s infinite alternate both;
	-o-animation: box-resize 10s infinite alternate both;
}
.ani div.a2 b {
	-webkit-animation: box-resize2 10s infinite alternate both;
	-moz-animation: box-resize2 10s infinite alternate both;
	-ms-animation: box-resize2 10s infinite alternate both;
	-o-animation: box-resize2 10s infinite alternate both;

}
.ani div.a3 b {
	-webkit-animation: box-resize3 10s infinite alternate both;
	-moz-animation: box-resize3 10s infinite alternate both;
	-ms-animation: box-resize3 10s infinite alternate both;
	-o-animation: box-resize3 10s infinite alternate both;

}
.ani div.a4 b {
	-webkit-animation: box-resize4 10s infinite alternate both;
	-moz-animation: box-resize4 10s infinite alternate both;
	-ms-animation: box-resize4 10s infinite alternate both;
	-o-animation: box-resize4 10s infinite alternate both;
}
.ani div.a5 b {
	-webkit-animation: box-resize5 10s infinite alternate both;
	-moz-animation: box-resize5 10s infinite alternate both;
	-ms-animation: box-resize5 10s infinite alternate both;
	-o-animation: box-resize5 10s infinite alternate both;

}
.ani div.a6 b {
	-webkit-animation: box-resize6 10s infinite alternate both;
	-moz-animation: box-resize6 10s infinite alternate both;
	-ms-animation: box-resize6 10s infinite alternate both;
	-o-animation: box-resize6 10s infinite alternate both;

}
.ani div.a7 b {
	-webkit-animation: box-resize7 10s infinite alternate both;
	-moz-animation: box-resize7 10s infinite alternate both;
	-ms-animation: box-resize7 10s infinite alternate both;
	-o-animation: box-resize7 10s infinite alternate both;

}
.ani div.a8 b {
	-webkit-animation: box-resize8 10s infinite alternate both;
	-moz-animation: box-resize8 10s infinite alternate both;
	-ms-animation: box-resize8 10s infinite alternate both;
	-o-animation: box-resize8 10s infinite alternate both;
}
.ani div.a9 b {
	-webkit-animation: box-resize9 10s infinite alternate both;
	-moz-animation: box-resize9 10s infinite alternate both;
	-ms-animation: box-resize9 10s infinite alternate both;
	-o-animation: box-resize9 10s infinite alternate both;
}
.ani div.a10 b {
	-webkit-animation: box-resize10 10s infinite alternate both;
	-moz-animation: box-resize10 10s infinite alternate both;
	-ms-animation: box-resize10 10s infinite alternate both;
	-o-animation: box-resize10 10s infinite alternate both;
}

/*Fluid Animation*/
@-webkit-keyframes box-resize {
	0% { top: 5%; right: 5%; bottom: 5%; left: 5%; }
	50% { top: 1%; right: 15.5; bottom: 1%; left: 15.5%; }
	100% { top: 1%; right: 6.4%; bottom: 1%; left: 6Î.4%; }
}
@-moz-keyframes box-resize {
  0% { top: 5%; right: 5%; bottom: 5%; left: 5%; }
	50% { top: 1%; right: 15.5; bottom: 1%; left: 15.5%; }
	100% { top: 1%; right: 6.4%; bottom: 1%; left: 6Î.4%; }
}
@-ms-keyframes box-resize {
  0% { top: 5%; right: 5%; bottom: 5%; left: 5%; }
	50% { top: 1%; right: 15.5; bottom: 1%; left: 15.5%; }
	100% { top: 1%; right: 6.4%; bottom: 1%; left: 6Î.4%; }
}
@-o-keyframes box-resize {
  0% { top: 5%; right: 5%; bottom: 5%; left: 5%; }
	50% { top: 1%; right: 15.5; bottom: 1%; left: 15.5%; }
	100% { top: 1%; right: 6.4%; bottom: 1%; left: 6Î.4%; }
}

@-webkit-keyframes box-resize2 {
	0% { top: 20%; right: 20%; bottom: 20%; left: 20%; }
	50% { top: 3%; right: 4%; bottom: 3%; left: 4%; }
	100% { top: 12%; right: 27%; bottom: 12%; left: 27%; }
}
@-moz-keyframes box-resize2 {
  0% { top: 20%; right: 20%; bottom: 20%; left: 20%; }
	50% { top: 3%; right: 4%; bottom: 3%; left: 4%; }
	100% { top: 12%; right: 27%; bottom: 12%; left: 27%; }
}
@-ms-keyframes box-resize2 {
  0% { top: 20%; right: 20%; bottom: 20%; left: 20%; }
	50% { top: 3%; right: 4%; bottom: 3%; left: 4%; }
	100% { top: 12%; right: 27%; bottom: 12%; left: 27%; }
}
@-o-keyframes box-resize2 {
  0% { top: 20%; right: 20%; bottom: 20%; left: 20%; }
	50% { top: 3%; right: 4%; bottom: 3%; left: 4%; }
	100% { top: 12%; right: 27%; bottom: 12%; left: 27%; }
}

@-webkit-keyframes box-resize3 {
	0% { top: 0; right: 0; bottom: 0; left: 0; }
	50% { top: 6%; right: 18%; bottom: 6%; left: 18%; }
	100% { top: 2%; right: 22%; bottom: 2%; left: 22%; }
}
@-moz-keyframes box-resize3 {
  0% { top: 0; right: 0; bottom: 0; left: 0; }
	50% { top: 6%; right: 18%; bottom: 6%; left: 18%; }
	100% { top: 2%; right: 22%; bottom: 2%; left: 22%; }

}
@-ms-keyframes box-resize3 {
  0% { top: 0; right: 0; bottom: 0; left: 0; }
	50% { top: 6%; right: 18%; bottom: 6%; left: 18%; }
	100% { top: 2%; right: 22%; bottom: 2%; left: 22%; }

}
@-o-keyframes box-resize3 {
  0% { top: 0; right: 0; bottom: 0; left: 0; }
	50% { top: 6%; right: 18%; bottom: 6%; left: 18%; }
	100% { top: 2%; right: 22%; bottom: 2%; left: 22%; }

}
@-webkit-keyframes box-resize4 {
	0% { top: 31%; right: 35%; bottom: 31%; left: 35%; }
	50% { top: 19.2%; right: 29.333%; bottom: 19.2%; left: 29.333%; }
	100% { top: 14.7%; right: 13%; bottom: 14.7%; left: 13%; }
}
@-moz-keyframes box-resize4 {
  0% { top: 31%; right: 35%; bottom: 31%; left: 35%;  }
	50% { top: 19.2%; right: 29.333%; bottom: 19.2%; left: 29.333%; }
	100% { top: 14.7%; right: 13%; bottom: 14.7%; left: 13%; }
}
@-ms-keyframes box-resize4 {
  0% { top: 31%; right: 35%; bottom: 31%; left: 35%;  }
	50% { top: 19.2%; right: 29.333%; bottom: 19.2%; left: 29.333%; }
	100% { top: 14.7%; right: 13%; bottom: 14.7%; left: 13%; }
}
@-o-keyframes box-resize4 {
  0% { top: 31%; right: 35%; bottom: 31%; left: 35%;  }
	50% { top: 19.2%; right: 29.333%; bottom: 19.2%; left: 29.333%; }
	100% { top: 14.7%; right: 13%; bottom: 14.7%; left: 13%; }
}
@-webkit-keyframes box-resize5 {
	0% { top: 24%; right: 24%; bottom: 24%; left: 24%; }
	50% { top: 10%; right: 8%; bottom: 10%; left: 8%; }
	100% { top: 3%; right: 18.8%; bottom: 3%; left: 18.8%; }
}
@-moz-keyframes box-resize5 {
  0% { top: 24%; right: 24%; bottom: 24%; left: 24%; }
	50% { top: 10%; right: 8%; bottom: 10%; left: 8%; }
	100% { top: 3%; right: 18.8%; bottom: 3%; left: 18.8%; }
}
@-ms-keyframes box-resize5 {
  0% { top: 24%; right: 24%; bottom: 24%; left: 24%; }
	50% { top: 10%; right: 8%; bottom: 10%; left: 8%; }
	100% { top: 3%; right: 18.8%; bottom: 3%; left: 18.8%; }
}
@-o-keyframes box-resize5 {
  0% { top: 24%; right: 24%; bottom: 24%; left: 24%; }
	50% { top: 10%; right: 8%; bottom: 10%; left: 8%; }
	100% { top: 3%; right: 18.8%; bottom: 3%; left: 18.8%; }
}
@-webkit-keyframes box-resize6 {
	0% { top: 5%; right: 25%; bottom: 5%; left: 25%; }
	50% { top: 2%; right: 35%; bottom: 2%; left: 35%; }
	100% { top: 4%; right: 33%; bottom: 4%; left: 33%; }
}
@-moz-keyframes box-resize6 {
  0% { top: 5%; right: 25%; bottom: 5%; left: 25%; }
	50% { top: 2%; right: 35%; bottom: 2%; left: 35%; }
	100% { top: 4%; right: 33%; bottom: 4%; left: 33%; }
}
@-ms-keyframes box-resize6 {
  0% { top: 5%; right: 25%; bottom: 5%; left: 25%; }
	50% { top: 2%; right: 35%; bottom: 2%; left: 35%; }
	100% { top: 4%; right: 33%; bottom: 4%; left: 33%; }
}
@-o-keyframes box-resize6 {
  0% { top: 5%; right: 25%; bottom: 5%; left: 25%; }
	50% { top: 2%; right: 35%; bottom: 2%; left: 35%; }
	100% { top: 4%; right: 33%; bottom: 4%; left: 33%; }
}
@-webkit-keyframes box-resize7 {
	0% { top: 23%; right: 23%; bottom: 23%; left: 23%; }
	50% { top: 13%; right: 21%; bottom: 13%; left: 21%; }
	100% { top: 8%; right: 40%; bottom: 8%; left: 40%; }
}
@-moz-keyframes box-resize7 {
  0% { top: 23%; right: 23%; bottom: 23%; left: 23%; }
	50% { top: 13%; right: 21%; bottom: 13%; left: 21%; }
	100% { top: 8%; right: 40%; bottom: 8%; left: 40%; }
}
@-ms-keyframes box-resize7 {
  0% { top: 23%; right: 23%; bottom: 23%; left: 23%; }
	50% { top: 13%; right: 21%; bottom: 13%; left: 21%; }
	100% { top: 8%; right: 40%; bottom: 8%; left: 40%; }
}
@-o-keyframes box-resize7 {
  0% { top: 23%; right: 23%; bottom: 23%; left: 23%; }
	50% { top: 13%; right: 21%; bottom: 13%; left: 21%; }
	100% { top: 8%; right: 40%; bottom: 8%; left: 40%; }
}
@-webkit-keyframes box-resize8 {
	0% { top: 17%; right: 40%; bottom: 17%; left: 40%; }
	50% { top: 24%; right: 44%; bottom: 24%; left: 44%; }
	100% { top: 21%; right: 30%; bottom: 21%; left: 30%; }
}
@-moz-keyframes box-resize8 {
  0% { top: 17%; right: 40%; bottom: 17%; left: 40%; }
	50% { top: 24%; right: 44%; bottom: 24%; left: 44%; }
	100% { top: 21%; right: 30%; bottom: 21%; left: 30%; }
}
@-ms-keyframes box-resize8 {
  0% { top: 17%; right: 40%; bottom: 17%; left: 40%; }
	50% { top: 24%; right: 44%; bottom: 24%; left: 44%; }
	100% { top: 21%; right: 30%; bottom: 21%; left: 30%; }
}
@-o-keyframes box-resize8 {
  0% { top: 17%; right: 40%; bottom: 17%; left: 40%; }
	50% { top: 24%; right: 44%; bottom: 24%; left: 44%; }
	100% { top: 21%; right: 30%; bottom: 21%; left: 30%; }
}
@-webkit-keyframes box-resize9 {
	0% { top: 12%; right: 12%; bottom: 12%; left: 12%; }
	50% { top: 23.333%; right: 5%; bottom: 23.333%; left: 5%; }
	100% { top: 12%; right: 2%; bottom: 12%; left: 2%; }
}
@-moz-keyframes box-resize9 {
 0% { top: 12%; right: 12%; bottom: 12%; left: 12%; }
	50% { top: 23.333%; right: 5%; bottom: 23.333%; left: 5%; }
	100% { top: 12%; right: 2%; bottom: 12%; left: 2%; }

}
@-ms-keyframes box-resize9 {
  0% { top: 12%; right: 12%; bottom: 12%; left: 12%; }
	50% { top: 23.333%; right: 5%; bottom: 23.333%; left: 5%; }
	100% { top: 12%; right: 2%; bottom: 12%; left: 2%; }

}
@-o-keyframes box-resize9 {
  0% { top: 12%; right: 12%; bottom: 12%; left: 12%; }
	50% { top: 23.333%; right: 5%; bottom: 23.333%; left: 5%; }
	100% { top: 12%; right: 2%; bottom: 12%; left: 2%; }

}
@-webkit-keyframes box-resize10 {
	0% { top: 29%; right: 22%; bottom: 29%; left: 22%; }
	50% { top: 11%; right: 11%; bottom: 11%; left: 11%; }
	100% { top: 22%; right: 2%; bottom: 22%; left: 2%; }
}
@-moz-keyframes box-resize10 {
  0% { top: 29%; right: 22%; bottom: 29%; left: 22%; }
	50% { top: 11%; right: 11%; bottom: 11%; left: 11%; }
	100% { top: 22%; right: 2%; bottom: 22%; left: 2%; }
}
@-ms-keyframes box-resize10 {
  0% { top: 29%; right: 22%; bottom: 29%; left: 22%; }
	50% { top: 11%; right: 11%; bottom: 11%; left: 11%; }
	100% { top: 22%; right: 2%; bottom: 22%; left: 2%; }
}
@-o-keyframes box-resize10 {
  0% { top: 29%; right: 22%; bottom: 29%; left: 22%; }
	50% { top: 11%; right: 11%; bottom: 11%; left: 11%; }
	100% { top: 22%; right: 2%; bottom: 22%; left: 2%; }
}
/*End Animations*/
              
            
!

JS

              
                
              
            
!
999px

Console