1 /**************************** Template register *******************************/2 .template-register h1 {3 color: navy;4 }5 6 .template-register form {7 display: block;8 margin: 2rem auto;9 padding: 1rem;10 max-width: 400px;11 border: solid gray 1px;12 }13 14 .template-register .inputs label {15 color: lightblue;16 display: block;17 font-size: 0.6rem;18 text-align: right;19 padding: 0;20 }21 22 .template-register .inputs input {23 width: 100%;24 margin: 0 -4px;25 padding: 0 4px;26 border: none;27 border-radius: 4px;28 border-bottom: solid lightblue 1px;29 }30 31 32 .template-register .inputs input:focus,33 .template-register .inputs input:hover {34 border-color: blue;35 }36 37 .template-register .inputs input:focus + label,38 .template-register .inputs input:hover + label {39 color: blue;40 }41 42 .template-register .buttons {43 text-align: center;44 }45
Enlace
El enlace para compartir es: