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.

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

            
              <div id="mobilescreen">
  <ul id="logosurround">
    <li></li>
    <li></li>
    <li></li>
    <li></li>
    <li></li>
    <li></li>
    <li></li>
    <li></li>
  </ul>
  <div id="logo"></div>
  <div id="loginform">
     <form action="#" name="loginform">
       <input type="text" placeholder="Username" value="" class="inputfield" />
       <input type="password" placeholder="Password" value="" class="inputfield" />
       <input type="submit" value="Login" class="inputbutton" />
     </form>
  <div id="forgotpassword"><a href="">Forgot your password?</a></div>  
  </div>
</div>
            
          
!

CSS

            
              *
{
margin:0px;
padding:0px;
outline:none;
}
 
body{
position:relative;
background: #ccc;
padding:20px;
margin:0px;
font-family:'Andika', sans-serif;
}


#mobilescreen
{
width:320px;
height:500px;
margin:0 auto;
position:relative;
overflow:hidden;
background: #182194; /* Old browsers */
background: -moz-linear-gradient(top,  #182194 0%, #4494da 50%, #182194 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#182194), color-stop(50%,#4494da), color-stop(100%,#182194)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #182194 0%,#4494da 50%,#182194 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #182194 0%,#4494da 50%,#182194 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #182194 0%,#4494da 50%,#182194 100%); /* IE10+ */
background: linear-gradient(to bottom,  #182194 0%,#4494da 50%,#182194 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#182194', endColorstr='#182194',GradientType=0 ); /* IE6-9 */
}

#logo
{
border:5px Solid #fff;
width:75px;
height:75px;
border-radius:50%;
background:transparent;
margin:20% auto 0%;
-webkit-transform:scale(1);
-moz-transform:scale(1);
-ms-transform:scale(1);
-o-transform:scale(1);
transform:scale(1);
-webkit-animation:logoanimation 1s linear,logoanimationmoveup 2s linear;
-moz-animation:logoanimation 1s linear,logoanimationmoveup 2s linear;
-ms-animation:logoanimation 1s linear,logoanimationmoveup 2s linear;
-o-animation:logoanimation 1s linear,logoanimationmoveup 2s linear;
animation:logoanimation 1s linear,logoanimationmoveup 2s linear;
}

#logosurround
{
position:absolute;
margin:20% 40% 0%;
padding:0px;
-webkit-animation:loaderpointmove 2s linear;
-moz-animation:loaderpointmove 2s linear;
-ms-animation:loaderpointmove 2s linear;
-o-animation:loaderpointmove 2s linear;
animation:loaderpointmove 2s linear;
}

#logosurround li
{
list-style-type:none;
position:absolute;
width:15px;
height:3px;
background:#fff;
}
#logosurround li:nth-child(1)
{
-webkit-transform:rotate(90deg);
-moz-transform:rotate(90deg);
-ms-transform:rotate(90deg);
-o-transform:rotate(90deg);
transform:rotate(90deg);
left:25px;
top:-25px;
-webkit-animation:loaderpoint 0.2s linear;
-moz-animation:loaderpoint 0.2s linear;
-ms-animation:loaderpoint 0.2s linear;
-o-animation:loaderpoint 0.2s linear;
animation:loaderpoint 0.2s linear;
}

#logosurround li:nth-child(2)
{
-webkit-transform: rotate(130deg);
-moz-transform: rotate(130deg);
-o-transform: rotate(130deg);
-ms-transform: rotate(130deg);
transform: rotate(130deg);
left: 73px;
top: -10px;
-webkit-animation:loaderpoint 0.4s linear;
-moz-animation:loaderpoint 0.4s linear;
-ms-animation:loaderpoint 0.4s linear;
-o-animation:loaderpoint 0.4s linear;
animation:loaderpoint 0.4s linear;
}

#logosurround li:nth-child(3)
{
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
left: 90px;
top: 37px;
-webkit-animation:loaderpoint 0.6s linear;
-moz-animation:loaderpoint 0.6s linear;
-ms-animation:loaderpoint 0.6s linear;
-o-animation:loaderpoint 0.6s linear;
animation:loaderpoint 0.6s linear;
}

#logosurround li:nth-child(4)
{
-webkit-transform: rotate(130deg);
-moz-transform: rotate(130deg);
-o-transform: rotate(130deg);
-ms-transform: rotate(130deg);
transform: rotate(130deg);
left: -25px;
top: 85px;
-webkit-animation:loaderpoint 1.2s linear;
-moz-animation:loaderpoint 1.2s linear;
-ms-animation:loaderpoint 1.2s linear;
-o-animation:loaderpoint 1.2s linear;
animation:loaderpoint 1.2s linear;
}

#logosurround li:nth-child(5)
{
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
left: -42px;
top: 37px;
-webkit-animation:loaderpoint 1.4s linear;
-moz-animation:loaderpoint 1.4s linear;
-ms-animation:loaderpoint 1.4s linear;
-o-animation:loaderpoint 1.4s linear;
animation:loaderpoint 1.4s linear;
}

#logosurround li:nth-child(6)
{
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
left: -23px;
top: -10px;
-webkit-animation:loaderpoint 1.6s linear;
-moz-animation:loaderpoint 1.6s linear;
-ms-animation:loaderpoint 1.6s linear;
-o-animation:loaderpoint 1.6s linear;
animation:loaderpoint 1.6s linear;
}

#logosurround li:nth-child(7)
{
-webkit-transform:rotate(90deg);
-moz-transform:rotate(90deg);
-ms-transform:rotate(90deg);
-o-transform:rotate(90deg);
transform:rotate(90deg);
left: 25px;
top: 108px;
-webkit-animation:loaderpoint 1.0s linear;
-moz-animation:loaderpoint 1.0s linear;
-ms-animation:loaderpoint 1.0s linear;
-o-animation:loaderpoint 1.0s linear;
animation:loaderpoint 1.0s linear;
}

#logosurround li:nth-child(8)
{
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
left: 78px;
top: 90px;
-webkit-animation:loaderpoint 0.8s linear;
-moz-animation:loaderpoint 0.8s linear;
-ms-animation:loaderpoint 0.8s linear;
-o-animation:loaderpoint 0.8s linear;
animation:loaderpoint 0.8s linear;
}


#loginform{
position:absolute;
bottom: 20px;
left:0px;
padding:20px;
width:88%;
-webkit-animation:showloginform 2s linear;
-moz-animation:showloginform 2s linear;
-ms-animation:showloginform 2s linear;
-o-animation:showloginform 2s linear;
animation:showloginform 2s linear;
}

input
{
display:block;
background:transparent;
margin-bottom:15px;

}

.inputfield
{
border:none;
border-bottom:1px solid #fff;
padding:10px 10px 10px 0px;
width:100%;
font-size:0.9em;
color:#fff;
-webkit-transition:0.5s;
-moz-transition:0.5s;
-ms-transition:0.5s;
-o-transition:0.5s;
transition:0.5s;
}

.inputfield:focus
{
border-bottom:1px solid #182194;
-webkit-transition:0.5s;
-moz-transition:0.5s;
-ms-transition:0.5s;
-o-transition:0.5s;
transition:0.5s;
}

.inputbutton
{
border:1px solid #fff;
padding:10px 10px 10px 0px;
width:100%;
font-size:1.1em;
color:#fff;
margin:35px 0px 10px 0px;
cursor:pointer;
-webkit-transition:0.5s;
-moz-transition:0.5s;
-ms-transition:0.5s;
-o-transition:0.5s;
transition:0.5s;
}

.inputbutton:hover
{
color:#182194;
background:#fff;
-webkit-transition:0.5s;
-moz-transition:0.5s;
-ms-transition:0.5s;
-o-transition:0.5s;
transition:0.5s;
}

::-webkit-input-placeholder {
color:#fff;
}

:-moz-placeholder {
color:#fff; 
}

::-moz-placeholder { 
color:#fff;  
}

:-ms-input-placeholder {  
color:#fff; 
}

:-o-input-placeholder {  
color:#fff; 
}

#forgotpassword
{
text-align:center;
}

a{text-decoration:none;color:#fff;font-size:0.8em;}

/* All Animation is below */

@-webkit-keyframes logoanimation
{
0%{-webkit-transform:scale(0);margin:60% auto 0%;}
40%{-webkit-transform:scale(1);margin:60% auto 0%;}
100%{-webkit-transform:scale(1);margin:60% auto 0%;}
}

@-webkit-keyframes logoanimationmoveup
{
0%{margin:60% auto 0%;}
60%{margin:60% auto 0%;}
100%{margin:20% auto 0%;}
}

/*Circle animation*/
@-webkit-keyframes logoanimation
{
0%{-webkit-transform:scale(0);margin:60% auto 0%;}
10%{-webkit-transform:scale(1);margin:60% auto 0%;}
100%{-webkit-transform:scale(1);margin:60% auto 0%;}
}

@-webkit-keyframes logoanimationmoveup
{
0%{margin:60% auto 0%;}
75%{margin:60% auto 0%;}
100%{margin:20% auto 0%;}
}

@-moz-keyframes logoanimation
{
0%{-moz-transform:scale(0);margin:60% auto 0%;}
10%{-moz-transform:scale(1);margin:60% auto 0%;}
100%{-moz-transform:scale(1);margin:60% auto 0%;}
}

@-moz-keyframes logoanimationmoveup
{
0%{margin:60% auto 0%;}
75%{margin:60% auto 0%;}
100%{margin:20% auto 0%;}
}

@-ms-keyframes logoanimation
{
0%{-ms-transform:scale(0);margin:60% auto 0%;}
10%{-ms-transform:scale(1);margin:60% auto 0%;}
100%{-ms-transform:scale(1);margin:60% auto 0%;}
}

@-ms-keyframes logoanimationmoveup
{
0%{margin:60% auto 0%;}
75%{margin:60% auto 0%;}
100%{margin:20% auto 0%;}
}

@-o-keyframes logoanimation
{
0%{-o-transform:scale(0);margin:60% auto 0%;}
10%{-o-transform:scale(1);margin:60% auto 0%;}
100%{-o-transform:scale(1);margin:60% auto 0%;}
}

@-o-keyframes logoanimationmoveup
{
0%{margin:60% auto 0%;}
75%{margin:60% auto 0%;}
100%{margin:20% auto 0%;}
}

@keyframes logoanimation
{
0%{transform:scale(0);margin:60% auto 0%;}
10%{transform:scale(1);margin:60% auto 0%;}
100%{transform:scale(1);margin:60% auto 0%;}
}

@keyframes logoanimationmoveup
{
0%{margin:60% auto 0%;}
75%{margin:60% auto 0%;}
100%{margin:20% auto 0%;}
}

/* loader animation */

@-webkit-keyframes loaderpoint
{
0%{opacity:0;}
80%{opacity:0;}
100%{opacity:10;}
}

@-webkit-keyframes loaderpointmove
{
0%{margin:60% 40% 0%;}
75%{margin:60% 40% 0%;}
100%{margin:20% 40% 0%;}
}

@-moz-keyframes loaderpoint
{
0%{opacity:0;}
80%{opacity:0;}
100%{opacity:10;}
}

@-moz-keyframes loaderpointmove
{
0%{margin:60% 40% 0%;}
75%{margin:60% 40% 0%;}
100%{margin:20% 40% 0%;}
}

@-ms-keyframes loaderpoint
{
0%{opacity:0;}
80%{opacity:0;}
100%{opacity:10;}
}

@-ms-keyframes loaderpointmove
{
0%{margin:60% 40% 0%;}
75%{margin:60% 40% 0%;}
100%{margin:20% 40% 0%;}
}

@-o-keyframes loaderpoint
{
0%{opacity:0;}
80%{opacity:0;}
100%{opacity:10;}
}

@-o-keyframes loaderpointmove
{
0%{margin:60% 40% 0%;}
75%{margin:60% 40% 0%;}
100%{margin:20% 40% 0%;}
}

@keyframes loaderpoint
{
0%{opacity:0;}
80%{opacity:0;}
100%{opacity:10;}
}

@keyframes loaderpointmove
{
0%{margin:60% 40% 0%;}
75%{margin:60% 40% 0%;}
100%{margin:20% 40% 0%;}
}


/* Login form show */

@-webkit-keyframes showloginform
{
0%{bottom:-230px;}
77%{bottom:-230px;}
100%{bottom:20px;}
}

@-moz-keyframes showloginform
{
0%{bottom:-230px;}
77%{bottom:-230px;}
100%{bottom:20px;}
}

@-ms-keyframes showloginform
{
0%{bottom:-230px;}
77%{bottom:-230px;}
100%{bottom:20px;}
}

@-o-keyframes showloginform
{
0%{bottom:-230px;}
77%{bottom:-230px;}
100%{bottom:20px;}
}

@keyframes showloginform
{
0%{bottom:-230px;}
77%{bottom:-230px;}
100%{bottom:20px;}
}
            
          
!

JS

            
              
            
          
!
999px

Console