123

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

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

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.

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.

            
              <div class="box-form">
	<div class="left">
		<div class="overlay">
		<h1>Hello World.</h1>
		<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
		Curabitur et est sed felis aliquet sollicitudin</p>
		<span>
			<p>login with social media</p>
			<a href="#"><i class="fa fa-facebook" aria-hidden="true"></i></a>
			<a href="#"><i class="fa fa-twitter" aria-hidden="true"></i> Login with Twitter</a>
		</span>
		</div>
	</div>
	
	
		<div class="right">
		<h5>Login</h5>
		<p>Don't have an account? <a href="#">Creat Your Account</a> it takes less than a minute</p>
		<div class="inputs">
			<input type="text" placeholder="user name">
			<br>
			<input type="password" placeholder="password">
		</div>
			
			<br><br>
			
		<div class="remember-me--forget-password">
				<!-- Angular -->
	<label>
		<input type="checkbox" name="item" checked/>
		<span class="text-checkbox">Remember me</span>
	</label>
			<p>forget password?</p>
		</div>
			
			<br>
			<button>Login</button>
	</div>
	
</div>
            
          
!
            
              $mainFont: 'Open Sans', sans-serif;
$mainColor: #333333;

// *{padding: 0px; margin: 0px;}

body {
	background-image: linear-gradient( 135deg, #FAB2FF 10%, #1904E5 100%);
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	font-family: $mainFont;
	color: $mainColor;
}

.box-form {
	margin: 0 auto;
	width: 80%;	
	background: #FFFFFF;
	border-radius: 10px;
	overflow: hidden;
	
	display: flex;
	flex: 1 1 100%;
  align-items: stretch;
	justify-content: space-between;
	
	box-shadow: 0 0 20px 6px #090b6f85;
	
	
	@media (max-width: 980px) {
		flex-flow:wrap;
		text-align: center;
		align-content: center;
		align-items: center;
	}

	
	div{height: auto;}
	
	.left{
		color: #FFFFFF;
		background-size: cover;
		background-repeat: no-repeat;
		background-image: url("https://i.pinimg.com/736x/5d/73/ea/5d73eaabb25e3805de1f8cdea7df4a42--tumblr-backgrounds-iphone-phone-wallpapers-iphone-wallaper-tumblr.jpg");
		overflow: hidden;

		// overlay
		.overlay {
			padding: 30px;
			width: 100%;
			height: 100%;
			background: #5961f9ad;
			overflow: hidden;
			box-sizing: border-box;
			
			h1{
				font-size: 10vmax;
				line-height: 1;
				font-weight: 900;
				margin-top: 40px;
				margin-bottom: 20px;
			}
			
			span {
				p {margin-top: 30px; font-weight: 900;}
				
				a{
					background: #3b5998;
					color:#FFFFFF;
					margin-top: 10px;
					padding: 14px 50px;
					border-radius: 100px;
					display: inline-block;
					box-shadow: 0 3px 6px 1px #042d4657;
				}
				a:last-child{background: #1dcaff; margin-left: 30px;}
			}
		}
	}
	
	.right {
		padding: 40px;
		overflow: hidden;
						
@media (max-width: 980px) {width: 100%;}

		h5{
			font-size: 6vmax;
			line-height: 0;
			// margin-bottom: 30px;
			

		}
		
		p{font-size: 14px; color: #B0B3B9;}
		
		.inputs{overflow: hidden;}
		
		input{
			width: 100%;
			padding: 10px;
			margin-top: 25px;
			font-size: 16px;
			border: none;
			outline: none;
			border-bottom: 2px solid #B0B3B9;
		}
		
		.remember-me--forget-password {
			display: flex;
			justify-content: space-between;
			align-items: center;
			
			input{
				margin: 0;
				margin-right: 7px;
				width: auto;
			}
		}

		
		
		button {
			float: right;
			color: #fff;
			font-size: 16px;
			padding: 12px 35px;
			border-radius: 50px;
			display: inline-block;
			border: 0; outline: 0;
		  box-shadow: 0px 4px 20px 0px #49c628a6;
			background-image: linear-gradient( 135deg, #70F570 10%, #49C628 100%);
		}
	}
	}





label {

	display: block;
	position: relative;
	margin-left: 30px;
}
label::before{
	content:' \f00c';
	position: absolute;
	font-family: FontAwesome;
	background: transparent;

	border: 3px solid #70F570;
	border-radius: 4px;
	color: transparent;
	left: -30px;
	
	transition: all 0.2s linear;
}

label:hover::before{
	 font-family: FontAwesome;
	content:' \f00c';
	color: #fff;
	cursor: pointer;
	background: #70F570;
}

label:hover::before .text-checkbox{background: #70F570;}
// label span.text-checkbox:hover{background: #70F570;}


label span.text-checkbox {
	display: inline-block;
	height: auto;
	position: relative;
	cursor: pointer;
	transition: all 0.2s linear;
}
label input[type="checkbox"] {display: none;}

            
          
!
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.

Console