HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URL's added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by Skypack, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 import
usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<script src="https://code.jquery.com/jquery-1.7.2.min.js"></script>
<div id="container">
<div id="a1"> <div id="a11"></div> </div>
<div id="a2"> <div id="a21"></div> </div>
<div id="a3"></div>
<div id="a4"></div>
<div id="a5"></div>
<div id="a6">Future of technology</div>
<div id="a7">
<span id="a71">paoock prod.</span>
<span id="a73">
<b class="a731">19</b>
<b class="a732">29</b>
</span>
<span id="a74">
<b class="a741">30/</b>
<b class="a742">06/</b>
<b class="a743">2012</b>
</span>
<span id="a76">CSS animation</span>
</div>
<div id="a8">
<div id="a81"></div>
</div>
<div id="a9">
<span>12456</span>:
<span>123456789</span>.
<span>12456</span>:
<span>123456789</span>
<span>12456</span>
</div>
<div id="a10">
CSS 3D transforms
<span></span>
</div>
<div id="b1">
<span class="b11"></span>
<span class="b12"></span>
<span class="b13"></span>
<span class="b14"></span>
<span class="b15"></span>
<span class="b16"></span>
<span class="b17"></span>
<span class="b18"></span>
<span class="b19"></span>
<span class="b110"></span>
</div>
<div id="figure">
<div id="a7">
<span id="a71">paoock prod.</span>
<span id="a73">
<b class="a731">19</b>
<b class="a732">29</b>
</span>
<span id="a74">
<b class="a741">30/</b>
<b class="a742">06/</b>
<b class="a743">2012</b>
</span>
<span id="a76">CSS animation</span>
</div>
<div id="f1"></div>
<div id="f2"></div>
<div id="f3">
<div id="f31"> <span class="f311"><b></b></span> <span class="f312"><b></b></span> </div>
<div id="f32"> <span class="f321"></span> <span class="f322"></span> </div>
<div id="f33"></div>
<div id="f34"></div>
</div>
<div id="f4">
<div id="f41"></div>
<div id="f42"></div>
<div id="f43" class="f431"></div>
<div id="f43" class="f432"></div>
<div id="f43" class="f433"></div>
<div id="f43" class="f434"></div>
</div>
<div id="f5"></div>
<div id="f6"></div>
<div id="f7">
<div id="f71"></div>
<div id="f72"></div>
</div>
<div id="f8">
<div id="f81"></div>
<div id="f82"></div>
</div>
<div id="f9">
<span></span>
</div>
</div>
</div>
* {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
body {
margin:0;
background:#000;
color:#666;
font-family:Arial, Helvetica, sans-serif;
overflow:hidden;
height: 500px;
}
div {
position:absolute;
}
#container {
height:300px;
width:400px;
margin-top:-150px;
margin-left:-200px;
top:50%; left:50%;
border:1px solid #666;
-webkit-perspective:700;
-moz-perspective:700px;
-webkit-animation:start 1s linear;
overflow:hidden;
}
@-webkit-keyframes start {
from {-webkit-transform:scale(0);}
to {-webkit-transform:scale(1);}
}
#a1 {
top:4px; left:20px;
height:4px;
width:70px;
border:1px dotted #666;
}
#a11 {
left:0; top:0;
height:100%;
background:#666;
-webkit-animation:a11 4s ease-in-out infinite;
-moz-animation:a11 4s ease-in-out infinite;
}
@-webkit-keyframes a11 {
from {width:70%;}
10% {width:20%;}
20% {width:90%;}
30% {width:60%;}
40% {width:100%;}
50% {width:10%;}
60% {width:30%;}
70% {width:20%;}
80% {width:50%;}
90% {width:10%;}
to {width:70%;}
}
@-moz-keyframes a11 {
from {width:70%;}
10% {width:20%;}
20% {width:90%;}
30% {width:60%;}
40% {width:100%;}
50% {width:10%;}
60% {width:30%;}
70% {width:20%;}
80% {width:50%;}
90% {width:10%;}
to {width:70%;}
}
#a2 {
top:18px; left:50px;
height:30px;
width:30px;
border-radius:50%;
border:1px dashed #666;
}
#a21 {
top:8px; left:13px;
height:14px;
width:4px;
background:#333;
border-radius:3px;
-webkit-animation:a21 8s linear infinite;
-moz-animation:a21 8s linear infinite;
}
@-webkit-keyframes a21 {
from {-webkit-transform:rotateZ(0deg) translateY(50%);}
to {-webkit-transform:rotateZ(360deg) translateY(50%);}
}
@-moz-keyframes a21 {
from {-moz-transform:rotateZ(0deg) translateY(50%);}
to {-moz-transform:rotateZ(360deg) translateY(50%);}
}
#a3 {
top:20px; left:20px;
height:200px;
width:20px;
font-size:50%;
}
#a3 span {
display:block;
margin-bottom:10px;
text-shadow:0 0 1px #666;
}
@-webkit-keyframes a3 {
from {opacity:0;}
50% {opacity:1;}
to {opacity:0;}
}
@-moz-keyframes a3 {
from {opacity:0;}
50% {opacity:1;}
to {opacity:0;}
}
#a4 {
top:60px;
height:150px;
width:14px;
}
#a4 span {
display:block;
height:2px;
width:100%;
background:#666;
margin-bottom:3px;
}
#a5 {
height:30px;
width:400px;
bottom:0;
overflow:hidden;
border-top:1px solid #666;
}
#a5 span {
display:block;
position:relative;
float:left;
height:30px;
width:24px;
border-right:1px solid #666;
}
#a5 span:first-child {
margin-left:12px;
border-left:1px solid #666;
}
#a5 span b {
position:absolute;
top:2px; left:2px; right:2px; bottom:2px;
background:#666;
opacity:0;
-webkit-animation:a4 2s linear infinite;
-moz-animation:a4 2s linear infinite;
}
@-webkit-keyframes a4 {
from {opacity:0;}
50% {opacity:1;}
to {opacity:0;}
}
@-moz-keyframes a4 {
from {opacity:0;}
50% {opacity:1;}
to {opacity:0;}
}
#a6 {
text-transform:uppercase;
left:90px; top:0;
width:220px;
padding:2px 0 2px 0;
font-size:75%;
text-align:center;
}
#a7 {
top:5px;
right:10px;
width:80px;
text-align:right;
}
#a7 span {
display:block;
}
#a7 span b {
font-weight:normal;
margin-left:-4px;
text-shadow:0 0 1px #666;
}
#a71 {font-size:40%;}
#a72 {font-size:50%;}
#a73 {font-size:100%;}
#a74 {font-size:80%;}
#a75 {font-size:50%;}
#a76 {font-size:40%;}
#a8 {
top:80px; right:7px;
height:160px;
width:50px;
border-bottom:2px solid #666;
}
#a8 span {
display:block;
margin-left:10%;
width:80%;
height:1px;
background:#666;
margin-bottom:3px;
}
#a81 {
top:0;
width:100%;
background:#000;
-webkit-animation:a81 2s ease-in-out infinite;
-moz-animation:a81 2s ease-in-out infinite;
}
@-webkit-keyframes a81 {
from {height:0;}
20% {height:50px;}
40% {height:10px;}
60% {height:120px;}
80% {height:70px;}
to {height:0;}
}
@-moz-keyframes a81 {
from {height:0;}
20% {height:50px;}
40% {height:10px;}
60% {height:120px;}
80% {height:70px;}
to {height:0;}
}
#a9 {
bottom:37px;
right:7px;
font-size:80%;
text-align:right;
text-shadow:0 0 1px #666;
}
#a9 span {
margin-left:-4px;
}
#a10 {
width:200px;
bottom:56px;
right:70px;
font-size:40%;
text-align:right;
}
#a10 span {
position:absolute;
top:1px;
height:60%;
width:100px;
background:#666;
right:60px;
-webkit-animation:a10 2s ease-in-out infinite;
-moz-animation:a10 2s ease-in-out infinite;
}
@-webkit-keyframes a10 {
from {width:100px;}
20% {width:10px;}
40% {width:140px;}
60% {width:50px;}
80% {width:120px;}
to {width:100px;}
}
@-moz-keyframes a10 {
from {width:100px;}
20% {width:10px;}
40% {width:140px;}
60% {width:50px;}
80% {width:120px;}
to {width:100px;}
}
#b1 {
bottom:32px;
width:100px;
height:50px;
left:10px;
}
#b1 span {
position:absolute;
bottom:0;
height:50px;
width:7px;
background:#666;
}
.b110 {right:5px; -webkit-animation:b1 1s ease-in-out infinite; -moz-animation:b1 1s ease-in-out infinite;}
.b19 {right:15px; -webkit-animation:b1 2s ease-in-out infinite; -moz-animation:b1 2s ease-in-out infinite;}
.b18 {right:25px; -webkit-animation:b1 1.5s ease-in-out infinite; -moz-animation:b1 1.5s ease-in-out infinite;}
.b17 {right:35px; -webkit-animation:b1 1.8s ease-in-out infinite; -moz-animation:b1 1.8s ease-in-out infinite;}
.b16 {right:45px; -webkit-animation:b1 1.1s ease-in-out infinite; -moz-animation:b1 1.1s ease-in-out infinite;}
.b15 {right:55px; -webkit-animation:b1 1.7s ease-in-out infinite; -moz-animation:b1 1.7s ease-in-out infinite;}
.b14 {right:65px; -webkit-animation:b1 1.2s ease-in-out infinite; -moz-animation:b1 1.2s ease-in-out infinite;}
.b13 {right:75px; -webkit-animation:b1 1.6s ease-in-out infinite; -moz-animation:b1 1.6s ease-in-out infinite;}
.b12 {right:85px; -webkit-animation:b1 1.3s ease-in-out infinite; -moz-animation:b1 1.3s ease-in-out infinite;}
.b11 {right:95px; -webkit-animation:b1 2s ease-in-out infinite; -moz-animation:b1 2s ease-in-out infinite;}
@-webkit-keyframes b1 {
from {height:50px;}
20% {height:10px;}
40% {height:30px;}
60% {height:5px;}
80% {height:20px;}
to {height:50px;}
}
@-moz-keyframes b1 {
from {height:50px;}
20% {height:10px;}
40% {height:30px;}
60% {height:5px;}
80% {height:20px;}
to {height:50px;}
}
#figure {
top:40px; left:130px;
height:170px;
width:170px;
border-radius:5px;
-webkit-transform:rotateY(-30deg) rotateX(10deg);
-webkit-transform-style:preserve-3d;
-webkit-animation:figure 8s ease-in-out infinite;
-moz-transform:rotateY(-30deg) rotateX(10deg);
-moz-transform-style:preserve-3d;
-moz-animation:figure 8s ease-in-out infinite;
}
@-webkit-keyframes figure {
from {-webkit-transform:rotateY(-30deg) rotateX(30deg);}
20% {-webkit-transform:rotateY(30deg) rotateX(30deg);}
40% {-webkit-transform:rotateY(30deg) rotateX(-30deg);}
60% {-webkit-transform:rotateY(-10deg) rotateX(30deg);}
80% {-webkit-transform:rotateY(30deg) rotateX(-10deg);}
to {-webkit-transform:rotateY(-30deg) rotateX(30deg);}
}
@-moz-keyframes figure {
from {-moz-transform:rotateY(-30deg) rotateX(30deg);}
20% {-moz-transform:rotateY(30deg) rotateX(30deg);}
40% {-moz-transform:rotateY(30deg) rotateX(-30deg);}
60% {-moz-transform:rotateY(-10deg) rotateX(30deg);}
80% {-moz-transform:rotateY(30deg) rotateX(-10deg);}
to {-moz-transform:rotateY(-30deg) rotateX(30deg);}
}
#figure #a7 {
left:-100px; top:20px;
color:#03F;
-webkit-transform:scale(0.7);
-webkit-animation:fa7 2s ease-in-out infinite;
}
@-webkit-keyframes fa7 {
from {color:#03F;}
25% {color:#00C;}
50% {color:#0CF;}
75% {color:#03C;}
to {color:#03F;}
}
#figure div, #figure span {
-webkit-transform-style:preserve-3d;
}
#f1 {
left:-2px; top:-2px;
height:170px;
width:170px;
border-radius:50%;
border-width:2px;
border-style:solid;
box-shadow:0 0 5px #006;
-webkit-animation:f1 4s ease-in-out infinite;
}
@-webkit-keyframes f1 {
from {-webkit-transform:rotateZ(0deg); opacity:1.0; border-color:#006;}
10% {-webkit-transform:rotateZ(30deg); opacity:1.0; border-color:#06F;}
20% {-webkit-transform:rotateZ(-30deg); opacity:0; border-color:#006;}
30% {-webkit-transform:rotateZ(0deg); opacity:1.0; border-color:#00C;}
40% {-webkit-transform:rotateZ(-60deg); opacity:1.0; border-color:#006;}
50% {-webkit-transform:rotateZ(-40deg); opacity:1.0; border-color:#03F;}
60% {-webkit-transform:rotateZ(-100deg); opacity:0; border-color:#03C;}
70% {-webkit-transform:rotateZ(-150deg); opacity:1.0; border-color:#006;}
80% {-webkit-transform:rotateZ(100deg); opacity:0; border-color:#006;}
90% {-webkit-transform:rotateZ(30deg); opacity:1.0; border-color:#099;}
to {-webkit-transform:rotateZ(0deg); opacity:1.0; border-color:#006;}
}
#f1 span {
display:block;
position:absolute;
top:50%; left:50%;
margin-top:-5px;
height:10px;
width:3px;
background:#006;
box-shadow:0 0 5px #006;
-webkit-animation:f1div 4s ease-in-out infinite;
}
@-webkit-keyframes f1div {
from {background:#006;}
10% {background:#06F;}
20% {background:#006;}
30% {background:#00C;}
40% {background:#006;}
50% {background:#03F;}
60% {background:#03C;}
70% {background:#006;}
80% {background:#006;}
90% {background:#099;}
to {background:#006;}
}
#f2 {
height:170px;
width:170px;
-webkit-animation:f2 20s linear infinite;
}
@-webkit-keyframes f2 {
from {-webkit-transform:translateZ(-5px) rotateZ(0deg);}
to {-webkit-transform:translateZ(-5px) rotateZ(360deg);}
}
#f2 span {
display:block;
position:absolute;
top:50%; left:50%;
margin-top:-3px;
height:6px;
width:2px;
background:#666;
}
#f3 {
top:10px; left:10px;
height:130px;
width:130px;
border-radius:50%;
border-width:10px;
border-style:solid;
border-color:#03C;
box-shadow:0 0 5px #03C;
-webkit-transform:translateZ(10px);
-webkit-animation:f3 6s ease-in-out infinite;
}
@-webkit-keyframes f3 {
from {-webkit-transform:translateZ(10px) rotateZ(0deg); border-color:#03C; opacity:1.0;}
10% {-webkit-transform:translateZ(10px) rotateZ(-80deg); border-color:#009; opacity:1.0;}
20% {-webkit-transform:translateZ(10px) rotateZ(-60deg); border-color:#03C; opacity:0;}
30% {-webkit-transform:translateZ(10px) rotateZ(-200deg); border-color:#009; opacity:1.0;}
40% {-webkit-transform:translateZ(10px) rotateZ(-210deg); border-color:#00F; opacity:1.0;}
50% {-webkit-transform:translateZ(10px) rotateZ(-120deg); border-color:#069; opacity:1.0;}
60% {-webkit-transform:translateZ(10px) rotateZ(-100deg); border-color:#03C; opacity:1.0;}
70% {-webkit-transform:translateZ(10px) rotateZ(-30deg); border-color:#03C; opacity:1.0;}
80% {-webkit-transform:translateZ(10px) rotateZ(0deg); border-color:#003; opacity:0;}
90% {-webkit-transform:translateZ(10px) rotateZ(90deg); border-color:#03C; opacity:1.0;}
to {-webkit-transform:translateZ(10px) rotateZ(0deg); border-color:#03C; opacity:1.0;}
}
#f31 {
width:40px;
background:#000;
top:-13px; left:45px;
bottom:-13px;
}
#f31 span {
left:12px;
position:absolute;
display:block;
border:1px solid #03C;
height:14px;
width:14px;
border-radius:100%;
-webkit-transform:translateZ(2px);
}
.f312 {
bottom:0;
}
#f31 span b {
top:3px; left:3px;
position:absolute;
height:8px;
width:8px;
background:#03C;
border-radius:100%;
-webkit-animation:f31span 2s ease-in-out infinite;
}
@-webkit-keyframes f31span {
from {background:#03C; opacity:1;}
25% {background:#039; opacity:0;}
50% {background:#0CC; opacity:1;}
75% {background:#039; opacity:0;}
to {background:#03C; opacity:1;}
}
#f32 {
height:40px;
background:#000;
top:45px; left:-15px;
right:-15px;
}
#f32 span {
position:absolute;
display:block;
border:1px solid #009;
border-radius:50%;
height:6px;
width:6px;
top:15px;
-webkit-transform:translateZ(2px);
}
.f321 {
left:6px;
}
.f322 {
right:6px;
}
#f33 {
width:2px;
background:#000;
top:-10px; left:64px;
bottom:-10px;
-webkit-transform:translateZ(1px) rotateZ(45deg);
}
#f34 {
width:2px;
background:#000;
top:-10px; left:64px;
bottom:-10px;
-webkit-transform:translateZ(1px) rotateZ(-45deg);
}
#f4 {
top:33px; left:33px;
height:100px;
width:100px;
border:2px solid #09F;
border-radius:100%;
-webkit-transform:translateZ(20px);
-webkit-animation:f4 6s ease-in-out infinite;
}
@-webkit-keyframes f4 {
from {-webkit-transform:translateZ(20px) rotateZ(0); opacity:1;}
25% {-webkit-transform:translateZ(20px) rotateZ(120deg); opacity:1;}
50% {-webkit-transform:translateZ(20px) rotateZ(0); opacity:0;}
75% {-webkit-transform:translateZ(20px) rotateZ(-120deg); opacity:1;}
to {-webkit-transform:translateZ(20px) rotateZ(0); opacity:1;}
}
#f41 {
left:45px;
top:-3px; bottom:-3px;
width:10px;
background:#000;
-webkit-transform:translateZ(1px);
}
#f42 {
top:45px;
left:-3px; right:-3px;
height:10px;
background:#000;
-webkit-transform:translateZ(1px);
}
#f43 {
top:47px; left:49px;
height:6px;
width:2px;
background:#09F;
}
.f431 {-webkit-transform:rotateZ(45deg) translateY(55px);}
.f432 {-webkit-transform:rotateZ(-45deg) translateY(55px);}
.f433 {-webkit-transform:rotateZ(135deg) translateY(55px);}
.f434 {-webkit-transform:rotateZ(225deg) translateY(55px);}
#f5 {
left:45px; top:45px;
height:80px;
width:80px;
-webkit-animation:f5 20s linear infinite;
}
@-webkit-keyframes f5 {
from {-webkit-transform:translateZ(25px) rotateZ(360deg);}
to {-webkit-transform:translateZ(25px) rotateZ(0deg);}
}
#f5 span {
display:block;
position:absolute;
top:50%; left:50%;
margin-top:-2px;
height:4px;
width:1px;
background:#666;
font-size:30%;
}
#f5 span b {
font-weight:normal;
position:absolute;
bottom:150%;
width:5px;
left:-2px;
overflow:hidden;
}
#f6 {
top:61px; left:61px;
height:46px;
width:46px;
border-radius:50%;
border:1px solid #06F;
-webkit-transform:translateZ(30px);
}
#f7 {
top:65px; left:65px;
height:36px;
width:36px;
border-radius:50%;
border:2px solid #06F;
background:#000;
-webkit-transform:translateZ(34px);
-webkit-animation:f7 6s linear infinite;
}
@-webkit-keyframes f7 {
from {-webkit-transform:translateZ(34px) rotateZ(0deg); opacity:1;}
10% {-webkit-transform:translateZ(34px) rotateZ(36deg); opacity:0;}
20% {-webkit-transform:translateZ(34px) rotateZ(72deg); opacity:1;}
70% {-webkit-transform:translateZ(34px) rotateZ(252deg); opacity:1;}
80% {-webkit-transform:translateZ(34px) rotateZ(288deg); opacity:0;}
90% {-webkit-transform:translateZ(34px) rotateZ(324deg); opacity:1;}
to {-webkit-transform:translateZ(34px) rotateZ(360deg);}
}
#f71 {
top:-12px; left:17px;
height:60px;
width:2px;
background:#06F;
-webkit-transform:translateZ(-1px);
}
#f72 {
top:-12px; left:17px;
height:60px;
width:2px;
background:#06F;
-webkit-transform:translateZ(-1px) rotateZ(90deg);
}
#f8 {
top:69px; left:69px;
height:30px;
width:30px;
border-radius:50%;
border:1px solid #009;
background:#000;
-webkit-transform:translateZ(40px);
-webkit-animation:f8 8s linear infinite;
}
@-webkit-keyframes f8 {
from {-webkit-transform:translateZ(40px) rotateZ(360deg); border-color:#009; opacity:1;}
10% {-webkit-transform:translateZ(40px) rotateZ(324deg); border-color:#009; opacity:0;}
20% {-webkit-transform:translateZ(40px) rotateZ(288deg); border-color:#009; opacity:1;}
50% {-webkit-transform:translateZ(40px) rotateZ(180deg); border-color:#09F;}
to {-webkit-transform:translateZ(40px) rotateZ(0deg); border-color:#009;}
}
#f81 {
top:-10px; left:10px;
height:50px;
width:10px;
background:#009;
-webkit-transform:translateZ(-1px);
border-radius:5px;
-webkit-animation:f8div 8s linear infinite;
}
#f82 {
top:-10px; left:10px;
height:50px;
width:10px;
background:#009;
-webkit-transform:translateZ(-1px) rotateZ(90deg);
border-radius:5px;
-webkit-animation:f8div 8s linear infinite;
}
@-webkit-keyframes f8div {
from {background:#009;}
50% {background:#09F;}
to {background:#009;}
}
#f9 {
top:79px; left:79px;
height:10px;
width:10px;
border-radius:50%;
border:1px solid #06F;
-webkit-transform:translateZ(50px);
}
#f9 span {
top:3px; left:3px;
position:absolute;
display:block;
height:4px;
width:4px;
background:#06F;
border-radius:50%;
-webkit-transform:translateZ(1px);
}
var i = 0;
var a3 = $('#a3');
var a4 = $('#a4');
var a5 = $('#a5');
var a8 = $('#a8');
var f2 = $('#f2');
var f1 = $('#f1');
var f5 = $('#f5');
for (i = 1; i < 11; i++) {
a3.append('<span class=a3'+i+'></span>');
$('.a3'+i+'').css({
'-webkit-animation' : 'a3 1s '+(Math.random()*2)+'s infinite',
'-moz-animation' : 'a3 1s '+(Math.random()*2)+'s infinite'
});
}
setInterval(function() {
$('#a3 span').each(function() {
$(this).text(Math.ceil(Math.random()*999));;
});
}, 100);
for (i = 1; i < 31; i++) {
a4.append('<span class=a3'+i+'></span>');
setInterval(function() {
$('#a4 span').each(function() {
$(this).width((Math.random()*15));
});
}, 500);
}
for (i = 1; i < 16; i++) {
a5.append('<span><b class=a5'+i+'></b></span>');
$('.a5'+i+'').css({
'-webkit-animation' : 'a3 1s 0.'+i+'s infinite',
'-moz-animation' : 'a3 1s 0.'+i+'s infinite'
});
}
setInterval(function() {
var h = Math.ceil(Math.random()*24);
var m = Math.ceil(Math.random()*60);
if (h<10) {$('.a731').text('0'+h+':');}
else {$('.a731').text(h+':');}
if (m<10) {$('.a732').text('0'+m);}
else {$('.a732').text(m);}
}, 100);
setInterval(function() {
var d = Math.ceil(Math.random()*30);
var m = Math.ceil(Math.random()*12);
var min = 1700, max = 1999;
var rand = min - 0.5 + Math.random()*(max-min+1)
rand = Math.round(rand);
if (d<10) {$('.a741').text('0'+d+'/');}
else {$('.a741').text(d+'/');}
if (m<10) {$('.a742').text('0'+m+'/');}
else {$('.a742').text(m+'/');}
$('.a743').text(rand);
}, 50);
for (i = 1; i < 41; i++) {
a8.append('<span></span>');
}
setInterval(function() {
var mino = 10000, maxo = 99999;
var rand = mino - 0.5 + Math.random()*(maxo-mino+1);
rand = Math.round(rand);
var mine = 100000000, maxe = 999999999;
var ran = mine - 0.5 + Math.random()*(maxe-mine+1);
ran = Math.round(ran);
$('#a9 span:odd').text(rand);
$('#a9 span:even').text(ran);
}, 100);
for (i = 1; i < 37; i++) {
f2.append('<span class=f2'+i+'></span>');
$('.f2'+i+'').css({
'-webkit-transform' : 'rotateZ('+i+'0deg) translateY(95px)'
});
}
for (i = 1; i < 19; i++) {
f5.append('<span class=f5'+i+'><b>'+Math.random()*30+'</b></span>');
$('.f5'+i+'').css({
'-webkit-transform' : 'rotateZ('+i*2+'0deg) translateY(40px)'
});
}
for (i = 1; i < 13; i++) {
f1.append('<span class=f1'+i+'></span>');
$('.f1'+i+'').css({
'-webkit-transform' : 'rotateZ('+i*30+'deg) translateY(91px)'
});
}
Also see: Tab Triggers