Hello fellow coders.
I am trying to make a Minecraft Hosting Company (Danish Company)
And i need a "Loading screen" for my Login popup.
I found this:
HTML:
<div id="outer-barG">
<div id="front-barG" class="bar-animationG">
<div id="barG_1" class="bar-lineG">
</div>
<div id="barG_2" class="bar-lineG">
</div>
<div id="barG_3" class="bar-lineG">
</div>
</div>
</div>
And this CSS:
#outer-barG{
height:12px;
width:40px;
border:1px solid #2D44D6;
overflow:hidden;
background-color:#6E8BBD}
.bar-lineG{
background-color:#2D44D6;
float:left;
width:6px;
height:39px;
margin-right:7px;
margin-top:-9px;
-moz-transform:rotate(45deg);
-webkit-transform:rotate(45deg);
-ms-transform:rotate(45deg);
-o-transform:rotate(45deg);
transform:rotate(45deg);
}
.bar-animationG{
margin-left:53px;
width:53px;
-moz-animation-name:bar-animationG;
-moz-animation-duration:1.65s;
-moz-animation-iteration-count:infinite;
-moz-animation-direction:linear;
-webkit-animation-name:bar-animationG;
-webkit-animation-duration:1.65s;
-webkit-animation-iteration-count:infinite;
-webkit-animation-direction:linear;
-ms-animation-name:bar-animationG;
-ms-animation-duration:1.65s;
-ms-animation-iteration-count:infinite;
-ms-animation-direction:linear;
-o-animation-name:bar-animationG;
-o-animation-duration:1.65s;
-o-animation-iteration-count:infinite;
-o-animation-direction:linear;
animation-name:bar-animationG;
animation-duration:1.65s;
animation-iteration-count:infinite;
animation-direction:linear;
}
#front-barG{
}
@-moz-keyframes bar-animationG{
0%{
margin-left:-40px;
margin-top:-6px}
100%{
margin-left:49px;
margin-top:-6px}
}
@-webkit-keyframes bar-animationG{
0%{
margin-left:-40px;
margin-top:-6px}
100%{
margin-left:49px;
margin-top:-6px}
}
@-ms-keyframes bar-animationG{
0%{
margin-left:-40px;
margin-top:-6px}
100%{
margin-left:49px;
margin-top:-6px}
}
@-o-keyframes bar-animationG{
0%{
margin-left:-40px;
margin-top:-6px}
100%{
margin-left:49px;
margin-top:-6px}
}
@keyframes bar-animationG{
0%{
margin-left:-40px;
margin-top:-6px}
100%{
margin-left:49px;
margin-top:-6px}
}
But it does it the hole time, and not on load?
How to make the loading kind of screen pop up, when you press Login? (On load)
Screenshot: http://gyazo.com/55b0c840f4cb812474f8943d9145a9cd
By the way: Thanks alot!!! =)
This is just a very very good website = LOVE IT!!!