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 id="ppPseudo">
	<img src="//vincentrocher.fr/codepen/images/design/synchroniser-compte.png">
	<span>Synchronisez vos comptes</span>
	<form id="ppCo" autocomplete="off">
		<input id="ppCoIn1" class="ppCoIn" type="text" placeholder="Pseudo"/>
		<!--<input id="ppCoIn2" class="ppCoIn" type="text" placeholder="Pseudo"/>
		<p>Un compte utilise déjà ce pseudo.<br>
      Si c'est le votre, renseignez votre mot de passe.<br>
      Sinon choississez un autre pseudo.</p>-->
		<input type="submit" id="ppCoCo" value="C'est parti !">
   </form>
	<p class="pseudoExp">
    Si vous êtes nouveau, votre pseudo par défaut sera
    <b>Jean-Duppont</b> mais pouvez en choisir un autre.</p>
	  <p class="pseudoExp">Si vous avez déjà un compte, utilisez le même pseudo pour le synchroniser.</p>
</div>
            
          
!
            
              /* Initialisation */
html,body{
	display:block;
	width:100%;
	height:100%;
	-webkit-box-sizing:border-box;
  box-sizing:border-box;
  font-family:"Quicksand","Open Sans",sans-serif;
}
html{	background:url('//vincentrocher.fr/codepen/images/backgrounds/city.jpg') no-repeat;
	background-size:cover;
}


#ppPseudo{
	width:500px;
  box-shadow:0 0 15px -1px #141414;
  margin:80px auto;
	text-align:center;
	color:#fff;
	padding-bottom:12px;
	background: url(//vincentrocher.fr/codepen/images/backgrounds/blur-1.jpg) no-repeat;
  background-size: cover;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
	-webkit-border-radius:5px;
	border-radius:5px;
}
#ppPseudo p{
	font-size:13px;
}
#ppPseudo span{
	display:block;
	font-size:17px;
	margin-top:15px;
	margin-bottom:30px;
	width:100%;
}
#ppPseudo img{
	margin-top:15px;
}
#ppPseudo .pseudoExp{
	width:70%;
	margin:0 auto;
	color:rgba(255,255,255,0.8);
	margin-bottom:7px
}
#ppPseudo #ppCoCo{
	width:50%;
	height:35px;
	line-height:35px;
	margin:25px auto 35px auto;
  transition:all 0.4s;
}
#ppPseudo form p{
	padding:9px 15px 0 15px;
}








#ppCo .ppCoIn {
	font-family:Quicksand;
	display:block;
	outline: none;
  height: 50px;
	margin:10px auto;
	padding-left:35px;
  text-shadow: 1px 1px 2px rgba(10,10,10,0.5);
  color: #FDFCFD;
	border:0;
  width: 80%;
	font-size:16px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
	box-sizing:border-box;
	background-repeat:no-repeat;
	background-position:left center;
	background-size:25px;	
	animation: 2s ppInput;
  }
#ppCoIn1{background:url(//vincentrocher.fr/codepen/images/icones/avatar.png)}
#ppCoIn2{background:url(//vincentrocher.fr/codepen/images/icones/cadena.png)}
#ppCoIn3{background:url(//vincentrocher.fr/codepen/images/icones/mail.png)}
#ppCoCo{
	font-family:Quicksand;
	display:block;
	width:80%;
	height:40px;
	line-height:40px;
	text-align:center;
	margin:35px auto 35px auto;
	color:rgba(255,255,255,0.6);
	border:solid 1px rgba(255,255,255,0.6);
	border-radius:25px;
	cursor:pointer;
	padding:0;
	background:none;
	font-size: 16px;
	animation: 1s ppLargeur;
}
#ppCoCo:hover, #ppCoCo:active{
	background-color:rgba(255,255,255,0.4);
	color:rgba(0,0,0,0.7);
	outline: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