A Pen by Anonasaurus Rex on CodePen.
Created
August 22, 2014 16:38
-
-
Save devloe/884226b0216359a78ee4 to your computer and use it in GitHub Desktop.
Natural form killer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form> | |
<p>Hola, me llamo <input type="text" placeholder="nombre" />, y tengo <input type="text" placeholder="edad" /> años.</p> | |
<p>Vivo en <input type="text" placeholder="ciudad" /> y me gusta <input type="text" placeholder="hobby" />.</p> | |
<button type="submit" class="btn btn-default">Enviar</button> | |
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("input").autosizeInput(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
form{padding:40px; font-size:20px;} | |
form input{border:none; background:transparent; border-bottom:1px dashed red; width:80px; padding:0; text-align:center; color:red;} | |
input:focus{outline:none;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment