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 CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              <body class="login-page">
 <main class="login-wrapper">
  <div class="middle-aligment-flex">
   <div class="login-image_wrapper op">
    <!-- logo -->
    <svg width="176" height="150" class="login-image" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 200.53 170.78">
	<defs><style>.cls-1{fill:#e3e3e3}.cls-2{fill:#2dcea4}.cls-3{fill:url(#gradient44)}.cls-4{fill:#f4f4f4}</style><linearGradient id="gradient44" x1="85.67" y1="22.33" x2="150.1" y2="67.45" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#28bd92" /><stop offset="0.39" stop-color="#27ba90" /><stop offset="0.7" stop-color="#25b088" /><stop offset="0.99" stop-color="#209f7b" /><stop offset="1" stop-color="#209e7a" /></linearGradient></defs>
	<g>
		<!-- s -->
		<path id="S" class="cls-1 letter letter-left" d="M5.62,150.22a18.6,18.6,0,0,0,13.14,5.43c3.64,0,5.86-1.54,5.86-3.52,0-2.35-2.65-3.27-7-4.2C10.8,146.57,1.3,144.85,1.3,135.1c0-6.91,5.86-12.9,16.42-12.9,6.6,0,12.34,2,16.72,5.74l-5.8,7.59A19.14,19.14,0,0,0,17,131.27c-3.52,0-4.87,1.42-4.87,3.21,0,2.16,2.53,2.9,7.1,3.76C26,139.66,35.42,141.64,35.42,151c0,8.27-6.11,13.76-17.16,13.76-8.33,0-14.13-2.59-18.27-6.54Z" />
		<!-- o -->
		<path id="O" class="cls-1 letter letter-left" d="M39.69,149c0-8.39,6.11-15.61,16.23-15.61S72.21,140.65,72.21,149s-6,15.67-16.29,15.67S39.69,157.44,39.69,149Zm22.77,0c0-3.95-2.34-7.22-6.54-7.22S49.5,145.09,49.5,149s2.28,7.28,6.42,7.28S62.46,153.05,62.46,149Z" />
		<!-- B -->
		<path id="B" class="cls-2 letter letter-left" d="M81.18,164V120H97q8.49,0,12.91,3.11a10.35,10.35,0,0,1,4.43,9,10.46,10.46,0,0,1-1.57,5.83,9.15,9.15,0,0,1-4.62,3.56,9.27,9.27,0,0,1,5.28,3.38,9.84,9.84,0,0,1,1.84,6q0,6.46-4.09,9.71T99,164Zm10.47-25.13h5.69q3.57,0,5.09-1.31a4.65,4.65,0,0,0,1.52-3.77,4.88,4.88,0,0,0-1.65-4.13q-1.65-1.26-5.31-1.26H91.65Zm0,6.28V155.6h6.9a6.57,6.57,0,0,0,4.38-1.31,4.57,4.57,0,0,0,1.53-3.67q0-5.46-5.43-5.49Z" />
		<!--i-->
		<path id="I" class="cls-2" d="M122.74,134.71a4.57,4.57,0,0,1,2.06-3.32,6.63,6.63,0,0,1,8.06,1.15,4.87,4.87,0,0,1-1,7.09,6.64,6.64,0,0,1-8.06-1.15A4.57,4.57,0,0,1,122.74,134.71Zm6.16,36.07-9.33-1.39L123,143.27l9.33,1.39Z" />
		<!--z-->
		<path id="Z" class="cls-2 letter letter-right" d="M151.28,155.6h13.65V164H137.71v-5.67l14.46-19.46H137.71v-8.38h27.22V136Z" />
		<!--h-->
		<path id="H" class="cls-2 letter letter-right" d="M181.68,135a9.89,9.89,0,0,1,8.14-4.08q5.28,0,8,3.18t2.74,9.39V164H190.06V143.63a6.08,6.08,0,0,0-1-3.81,4,4,0,0,0-3.31-1.22,4.38,4.38,0,0,0-4.09,2V164H171.21V117.91h10.47Z" />
		<g class="logo">
		<rect class="cls-1" x="127.37" y="8.12" width="18.07" height="77.45" /><rect class="cls-2" x="55.09" y="10.7" width="40.72" height="72.28" /><polygon class="cls-3" points="132.26 92.94 93.81 82.99 93.81 10.71 132.26 0 132.26 92.94" /><path class="cls-4" d="M95,31.83s7-2.47,0-10.88C88,29.36,95,31.83,95,31.83Z" /><path class="cls-4" d="M110.46,32.26c-10.12-4.16-10.39,3.24-10.39,3.24S104.5,41.44,110.46,32.26Z" /><path class="cls-4" d="M89.84,35.5s-.27-7.4-10.39-3.24C85.4,41.44,89.84,35.5,89.84,35.5Z" /><path class="cls-4" d="M110.63,45.91C100.7,40,97.28,38.49,95,34.82h0C92.63,38.49,89.21,40,79.28,45.91c-16.75,10-1.33,22.36,12.56,15.1l-7.6,11.21,7.45-2L95,74.64l3.26-4.4,7.45,2A54.36,54.36,0,0,1,98.06,61C112,68.27,127.37,55.91,110.63,45.91Z" />
			</g>
	</g>
</svg>
    <!-- end logo -->
   </div>
   <!---
		<form class="form-signin op">
    <h1 class="title">Sign In</h1>
    <p class="signin">
     No account? <a href="#">Sign up to create one!</a>
    </p>
    <div>
     <input autofocus id="inputUserName" placeholder="Email" required type="email" />
    </div>
    <div>
     <input id="inputPassword" placeholder="Password" required="" type="password" />
    </div>
    <button class="button-signin button-orange w100" type="submit">Login</button><a href="#">Forgot Password</a>
   </form
-->
  </div>
	 
	<!-- <button class="button-skip button" id="button-skip">Skip Introduction</button> -->

 </main>
</body>
            
          
!
            
              @import url('https://fonts.googleapis.com/css?family=Nunito+Sans:400,600');

// Color
// ––––––––––––––––––––––––––––––––––––––––––––––––––
$color-primary: #2DCEA4; //green
$color-secondary: #1C344A; //text darkblue
$color-tertiary: #f4f5f6;
$color-quaternary: #d1d1d1;
$color-darker-blue: #182633;
$orange: #E85235;
$blue-link: darken(#1DB6E7, 5%);

body {
	font-family: 'Nunito Sans', sans-serif;
	color: $color-secondary;
}

// helpers
// ––––––––––––––––––––––––––––––––––––––––––––––––––
.middle-aligment-flex {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	height: 100%;
}
.op {
	opacity: 0;
}

.w100 {
	width: 100%;
}

// butons and links
// ––––––––––––––––––––––––––––––––––––––––––––––––––
/*.button {
	background-color: $color-primary;
	border-color: $color-primary;
	border-radius: 0;
	transition: 0.2s ease-out color, 0.2s ease-out border-color, 0.2s ease-out background-color, 0.2s ease-out transform;
	&:focus,
	&:hover {
			background-color: saturate($color-primary, 20%);
			border-color: saturate($color-primary, 20%);
			outline: 0;
	}
}

.button-orange {
 background: $orange;
 border-color: $orange;
	font-size: 14px;
 &:focus,
 &:hover {
  background-color: saturate($orange, 20%);
  border-color: saturate($orange, 20%);
  outline: 0;
 }
}

a {
 color: $blue-link;
 &:focus,
 &:hover {
  color: lighten($blue-link, 13%);
 }
}

.button-skip {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10;
}
*/
// login
// ––––––––––––––––––––––––––––––––––––––––––––––––––
body.login-page {
	background: darken($color-primary, 5%)
		url(https://img15.hostingpics.net/pics/346052loginbg.jpg)
		no-repeat;
	background-size: cover;
	overflow: hidden;
}

main.login-wrapper {
	height: 100vh;
	text-align: center;
	display: block;
	.login-image_wrapper {
		background: $color-darker-blue;
		padding: 60px 110px;
		box-shadow: 8px 8px 28px rgba(0, 0, 0, 0.32);
	}
}
@media only screen and (min-width: 650px) {
	.login-wrapper {
			transform: scale(1.5);
	}
}

/*
 .form-signin {
  opacity: 0;
  background: #fff;
  padding: 35px 60px;
  box-shadow: 8px 8px 28px rgba(0, 0, 0, 0.32);
  margin-bottom: 0;
  z-index: 1;
  .signin {
   line-height: 1.3;
   font-weight: 500;
   color: $color-secondary;
  }
  .title {
   margin-top: 0;
   margin-bottom: 0;
   font-size: 4rem;
   font-weight: 600;
  }
  input {
   border-radius: 0;
  }
  .button-signin {
   margin-bottom: 5px;
   border-radius: 0;
  }
 }*/

            
          
!
            
              var loginAnimation = anime.timeline({
	loop: true
});

loginAnimation.add([
	{
		//logo position
		targets: ".logo",
		easing: "easeOutExpo",
		transformOrigin: ["50% 50%", "50% 50%"],
		translateY: ["50%", 50],
		scale: ["1.5", "1.5"],
		duration: 1
	},

	{
		// box growing
		targets: ".login-image_wrapper",
		translateY: ["49.99%", 0],
		scale: [0, 1],
		opacity: [0, 1],
		duration: 550,
		easing: "easeOutBack"
	},
	{
		//logo
		targets: ".logo",
		translateY: ["50%", 0],
		scale: ["1.5", "1"],
		//easing: "easeOutExpo",
		easing: "easeOutBack",
		delay: 400,
		duration: 550
	},
	{
		//letters left position
		targets: ".letter-left",
		translateX: 9,
		easing: "easeOutExpo",
		duration: 1
	},
	{
		//letters right position
		targets: ".letter-right",
		translateX: -9,
		easing: "easeOutExpo",
		duration: 1
	},
	{
		//letters animation
		targets: ".letter",
		opacity: [0, 1],
		delay: function(el, i, l) {
			return 300 + i * 75; //global delay + letters delay
		},
		easing: "easeOutExpo",
		duration: 200
	},
	{
		// letter "i" animation
		targets: "#I",
		opacity: [0, 1],
		delay: 700,
		translateY: ["-200px", 0],
		//easing: "easeOutBack",
		duration: 500
	},
	{
		//letters position initial
		targets: ".letter-left, .letter-right",
		translateX: 0,
		easing: [0.41, -0.72, 0.5, 2.04],
		elasticity: 1000,
		duration: 200,
		offset: "-=700"
	},
	/* 	{
		// black box movin
		targets: ".login-image_wrapper",
		translateX: ["50%", 0],
		scale: [1.3, 1],
		easing: "easeOutSine",
		//easing: "easeOutBack",
		delay: 300,
		duration: 300,
	},
	{
	  //form growing
		targets: ".form-signin",
		scale: [0, "1"],
		opacity: [0, "1"],
		//easing: "easeOutCubic",
		//easing: "easeInCubic",
		easing: "easeInOutBack",
		duration: 650,
		offset: '-=550'
	}, */
	{
		//
		targets: "svg",
		opacity: 1,
		duration: 450
	}
]);

//skip introduction with button
/*document.querySelector('.button-skip').addEventListener('click', function(e) {
	loginAnimation.seek(loginAnimation.duration);
});

//skip introduction with keyboard ESC
document.onkeydown=function(e){
    if(e.which == 27) {
			loginAnimation.seek(loginAnimation.duration);
			return false;
    }
}*/

            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console