Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

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.

Behavior

Auto Save

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

              
                 <!-- Responsive login page template by midoghranek-->

<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.1/css/font-awesome.css" rel="stylesheet">

<link href='https://fonts.googleapis.com/css?family=Arimo:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Stint+Ultra+Condensed' rel='stylesheet' type='text/css'>


<meta content='width=device-width, initial-scale=1, maximum-scale=1' name='viewport'/>

<div class="signform">

   <!-- left side will be in the top at 640px screen-->
<div class="left">
<div class="bts">
<a href="#" class="fblogin"><i class="fa fa-facebook"></i><span>Sign in with facebook</span></a>
<a href="#" class="gplogin"><i class="fa fa-google-plus"></i><span>Sign in with Google</span></a>
<a href="#" class="twlogin"><i class="fa fa-twitter"></i><span>Sign in with twitter</span></a>
</div>
</div>
<!-- end left side -->
  
  <!-- right side will be in the bottom at 640px screen-->
<div class="right">

  <div class="headit">
<h>login here or </h><a href="#">sign up now</a>
  </div>
<form>
<div class="input-group margin-bottom-sm">
  <span class="input-group-addon"><i class="fa fa-envelope-o fa-fw"></i></span>
  <input class="form-control" type="text" placeholder="Email address">
</div>
<div class="input-group">
  <span class="input-group-addon"><i class="fa fa-key fa-fw"></i></span>
  <input class="form-control" type="password" placeholder="Password">
</div>
<input class="subbt" type="submit" value="login" />
</form>

<a href="#">Forgot your password?</a>

</div>
  <!-- end left side -->
</div>

  
  <!-- copyrights area -->
<a class="copyright" target="_blank" href="https://www.facebook.com/midoghranek"><i class="fa fa-check-square"></i> Desgined by Mido Ghranek</a>
              
            
!

CSS

              
                /* Responsive login page desgined by midoghranek  */

body { background-color: #F7F7F7 ; }

a.copyright { 
font-family: 'Stint Ultra Condensed', cursive;
font-size: 1.5em;
text-decoration: none;
color: #FFF;
background: #08C;
padding: 1%;
position: absolute;
top: 0px;
left:0px;
}
 
.signform {
background-color: #FFF;
border-left: 15px solid #08C;
padding-bottom: 40px;
padding-top: 35px;
border-radius: 30px 0% 0% 30px;
margin: 0 auto;
margin-top: 13%;
}

.bts {
padding-bottom: 10px;
padding-top: 10px;
}

.bts span {
text-align: center;
margin-left: 15%;
font-size: .9em;
font-family: 'Arimo', sans-serif;
font-weight: 700;
font-style: italic;
}

.fblogin {
   transition: background 200ms ease-in-out 0s;
-webkit-transition: background 200ms ease-in-out 0s;
-moz-transition: background 200ms ease-in-out 0s;
-o-transition: background 200ms ease-in-out 0s;
-ms-transition: background 200ms ease-in-out 0s;
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 2px -1px;
-moz-box-shadow: rgba(0,0,0,0.3) 0px 2px 2px -1px;
box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 2px -1px;
text-shadow: 0 1px 0 rgba(122, 122, 122, 0.85);
margin-top: 12px;
	background-color:#3b5898;
	-webkit-border-top-left-radius:1px;
	-moz-border-radius-topleft:1px;
	border-top-left-radius:1px;
	-webkit-border-top-right-radius:1px;
	-moz-border-radius-topright:1px;
	border-top-right-radius:1px;
	-webkit-border-bottom-right-radius:1px;
	-moz-border-radius-bottomright:1px;
	border-bottom-right-radius:1px;
	-webkit-border-bottom-left-radius:1px;
	-moz-border-radius-bottomleft:1px;
	border-bottom-left-radius:1px;
	text-indent:0;
	display:block;
	color:#ffffff;
	height:50px;
	line-height:50px;
	width: 85%;
	text-decoration:none;
	text-align:center;
}.fblogin:hover {
	background-color:#5177c2;
}.fblogin:active {
	position:relative;
	top:1px;
}


.gplogin {
  transition: background 200ms ease-in-out 0s;
-webkit-transition: background 200ms ease-in-out 0s;
-moz-transition: background 200ms ease-in-out 0s;
-o-transition: background 200ms ease-in-out 0s;
-ms-transition: background 200ms ease-in-out 0s;
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 2px -1px;
-moz-box-shadow: rgba(0,0,0,0.3) 0px 2px 2px -1px;
box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 2px -1px;
text-shadow: 0 1px 0 rgba(122, 122, 122, 0.85);
margin-top: 12px;
	background-color:#dd4c39;
	-webkit-border-top-left-radius:1px;
	-moz-border-radius-topleft:1px;
	border-top-left-radius:1px;
	-webkit-border-top-right-radius:1px;
	-moz-border-radius-topright:1px;
	border-top-right-radius:1px;
	-webkit-border-bottom-right-radius:1px;
	-moz-border-radius-bottomright:1px;
	border-bottom-right-radius:1px;
	-webkit-border-bottom-left-radius:1px;
	-moz-border-radius-bottomleft:1px;
	border-bottom-left-radius:1px;
	text-indent:0;
	display:block;
	color:#ffffff;
	height:50px;
	line-height:50px;
	width: 85%;
	text-decoration:none;
	text-align:center;
}.gplogin:hover {
	background-color:#f06e60;
}.gplogin:active {
	position:relative;
	top:1px;
}


.twlogin {
  transition: background 200ms ease-in-out 0s;
-webkit-transition: background 200ms ease-in-out 0s;
-moz-transition: background 200ms ease-in-out 0s;
-o-transition: background 200ms ease-in-out 0s;
-ms-transition: background 200ms ease-in-out 0s;
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 2px -1px;
-moz-box-shadow: rgba(0,0,0,0.3) 0px 2px 2px -1px;
box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 2px -1px;
text-shadow: 0 1px 0 rgba(122, 122, 122, 0.85);
margin-top: 12px;
	background-color:#00abee;
	-webkit-border-top-left-radius:1px;
	-moz-border-radius-topleft:1px;
	border-top-left-radius:1px;
	-webkit-border-top-right-radius:1px;
	-moz-border-radius-topright:1px;
	border-top-right-radius:1px;
	-webkit-border-bottom-right-radius:1px;
	-moz-border-radius-bottomright:1px;
	border-bottom-right-radius:1px;
	-webkit-border-bottom-left-radius:1px;
	-moz-border-radius-bottomleft:1px;
	border-bottom-left-radius:1px;
	text-indent:0;
	display:block;
	color:#ffffff;
	height:50px;
	line-height:50px;
	width: 85%;
	text-decoration:none;
	text-align:center;
}.twlogin:hover {
	background-color:#4cbde6;
}.twlogin:active {
	position:relative;
	top:1px;
}




.input-group-addon {
padding: 8px 12px;
font-size: 14px;
font-weight: normal;
line-height: 1;
text-align: center;
background-color: #08C;
color:#fff;
}

.form-control:focus {
outline: none;
border-color: #79C0E4;
box-shadow: 0 0 2px #08C;
}

.form-control {
font-family: 'Arimo', sans-serif;
font-weight: 400;
font-style: normal;
width: 150px;
display: table-cell;
height: 20px;
padding: 6px 12px;
font-size: 14px;
line-height: 1.428571429;
color: #fff;
background-color: #222;
border: 0px solid #08C;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.input-group-addon:first-child {
border-right: 0;
}

.margin-bottom-sm {
margin-bottom: 5px !important;
}

.input-group {
position: relative;
display: table ;
border-collapse: separate;
}

.subbt:hover {
background-color: #111;
}
.subbt {
   -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 2px -1px;
-moz-box-shadow: rgba(0,0,0,0.3) 0px 2px 2px -1px;
box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 2px -1px;
text-shadow: 0 1px 0 rgba(122, 122, 122, 0.85);
      transition: background 500ms ease-in-out 0s;
-webkit-transition: background 500ms ease-in-out 0s;
-moz-transition: background 500ms ease-in-out 0s;
-o-transition: background 500ms ease-in-out 0s;
-ms-transition: background 500ms ease-in-out 0s;
background-color: #08C;
border: none;
color: #FFF;
padding: 10px 15px 10px 15px;
margin-top: 10px;
cursor: pointer;
font-size: .9em;
border-radius: 3px;
width: 218px;
font-family: 'Arimo', sans-serif;
font-weight: 700;
font-style: normal;

}

.right a {
position: relative;
color: #08c;
text-decoration: underline;
font-family: 'Arimo', sans-serif;
font-weight: 400;
font-style: normal;
font-size: .9em;
}

.right h {
position: relative;
color: #111;
text-decoration: none;
font-family: 'Arimo', sans-serif;
font-weight: 400;
font-style: normal;
font-size: .9em;
}

.headit { 
  position: relative; 
  top: -10px;
}

.headit a {
text-decoration: none;
}

.fa.fa-check-square {
padding-right: 19px;
}

@media screen  and (min-width: 1400px) {
.signform { width: 680px; left: 25%; }
}


@media screen  and (max-width: 1400px) and (min-width: 1230px) {
.signform { width: 50%; left: 25%; }
}

@media screen  and (max-width: 1230px) and (min-width: 1000px) {
.signform { width: 60%; left: 15%; }
}

@media screen  and (max-width: 1000px) and (min-width: 900px) {
.signform { width: 70%; left: 10%; }
}

@media screen  and (max-width: 900px) and (min-width: 750px) {
.signform { width: 80%; left: 8%; }
}

@media screen  and (max-width: 750px) and (min-width: 640px) {
.signform { width: 90%; left: 1%; }
}

@media screen  and (min-width: 640px) {
.left { 
border-right: 1px solid #DDD;
width: 47%;
display: inline-table;
margin-left: 20px;
}

.right {
width: 40%;
display: inline-table;
margin-left: 50px;
}

}


@media screen  and (max-width: 640px) {
.left { 
border-right: 0px solid #DDD;
width: 100%;
display: inline-table;
margin-left: 20px;
margin-bottom: 25px;
}

.right {
width: 100%;
display: inline-table;
margin-left: 20px;
}

.signform { width: 50%; min-width:255px;  }
}

@media screen  and (max-width: 640px) and (min-width: 460px) {
.signform { left: 25%; }
}

@media screen  and (max-width: 460px) and (min-width: 400px) {
.signform { left: 20%; }
}

@media screen  and (max-width: 400px) and (min-width: 320px) {
.signform { left: 10%; }
}

@media screen  and (max-width: 320px) {
.signform { left: 1%; }
}
              
            
!

JS

              
                /*
without javascipt 
*/
              
            
!
999px

Console