cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

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

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

            
              <div class="login-icon">
	<ul>
		<li class="right">
			<a href="#openLoginModal"><i class="fa fa-user"></i></a>
		</li>
	</ul>
</div><!-- login Modal starts here    ================================================== -->
<div class="modalDialog" id="openLoginModal">
	<div class="login-container">
		<div class="img-container"><img alt="Avatar" class="login-avatar" src=
		"http://i701.photobucket.com/albums/ww17/suedinym/pens/avatar-f_zps9q1uch04.png"></div>
		<div class="login-info">
			<form action="">
				<label><b>Username</b></label> <input name="uname" placeholder="Enter Username" required="" type="text">
				<label><b>Password</b></label> <input name="psw" placeholder="Enter Password" required="" type="password">
				<button class="login" type="submit">Login</button>
				<div class="login-bottom-container">
					<span class="psw">Forgot <a href="#">password?</a> &nbsp; &#124; &nbsp; Create <a href="#">Account</a></span>
				</div><a class="login-modal-close" href="#close">Cancel</a> <input checked="checked" type="checkbox"> Remember me
			</form>
		</div>
	</div>
</div>
            
          
!
            
              .login-icon {	float: right;
			display: block;
	color: #fff;
	padding: 0 1.5rem;
	text-decoration: none;
  font-size: 35px;}
/* #Modal dialog
================================================== */
.modalDialog {
		position: fixed;
		font-family: Arial, Helvetica, sans-serif;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0, 0, 0, 0.7);
		z-index: 99999;
		opacity: 0;
		-webkit-transition: opacity 400ms ease-in;
		-moz-transition: opacity 400ms ease-in;
		transition: opacity 400ms ease-in;
		pointer-events: none;
	}
/*	.modalDialog img {
			width: 95%;
	
	}*/
	.modalDialog:target {
		opacity: 1;
		pointer-events: auto;
	}
	.modalDialog>div {
		width: 40%;
		position: relative;
		margin: 25px auto;
		padding: 5px 20px 13px 20px;
		border-radius: 10px;
		background: #fff;
	}


/* #LOGIN FORM
================================================== */

.login-container {
	width: 25%;
	border: 10px double #999;
	border-radius: 15%;
 }
.img-container {
	text-align: center;
}
img.login-avatar {
	width: 25%;
	border-radius: 50%;
	margin-top: 5%;
}
.login {
	background-color: #3c78aa;
	color: white;
	padding: 10px 20px;
	margin: 8px 0;
	border: none;
	cursor: pointer;
	width: 100%;
	border-radius: 5px;
	clear: both;
}
.login-info input[type="text"], .login-info input[type="password"] {
	background-color: #fff;
	width: 95%;
	border: 1px solid #D1D1D1;
	border-radius: 4px;
	height: 20px;
	padding: 6px 0 2px 5px;
	margin: 8px;
}
.login-info input[type="text"]:focus, .login-info input[type="password"]:focus {
	border: 1px solid #10a7d5;
	background-color: #fff7e6;
	outline: 0;
}
.login-info {padding-bottom: 5%;}

.login-modal-close {
	width: auto;
	font-size: 15px;
	padding: 5px 10px;
	background-color: #db8e57;
	color: white;
	text-decoration: none;
	border-radius: 5%;
	float: right;
}
.login-modal-close:hover {
	background-color: #e09f6f;
}
.login-bottom-container {
	text-align: center;
	padding: 5px;
	margin-bottom: 5px;
}
span.psw {
	padding-top: 16px;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console