
5 Plantillas que te ayudará con el diseño de tu LOGIN.

Recuerda que estos proyectos es solo el diseño HTML y CSS.
Debes de crear en una carpeta las hojas index.html y vaidroll.css, en algunos proyectos es necesario una imagen de fondo o un logo.

Opción 1:
Tamaño 1
index.html
<html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>VaidrollTeamLogin6</title> <link rel="stylesheet" href="vaidroll.css"> </head> <body> <div class="cajafuera" align="center"> <div class="formulariocaja"> <form method="post" action="" name="vaidrollteam"> <div class="formtitulo">Bienvenido</div> <img src="logo.png"/> <div class="formsubtitulo" >Iniciar sesión</div> <input type="text" name="txtusuario" placeholder="🔑 Ingresar usuario" class="cajaentradatexto"> <input type="password" name="txtpassword" placeholder="🔒 Ingresar password" class="cajaentradatexto"> <div align="right" class="af"><a href="#">Recuperar contraseña</a></div> <input type="submit" value="Iniciar sesión" class="botonenviar"> <div>¿Necesitas una cuenta? <a href="#">Registrar</a></div> </form> </div> </div> </body> </html>
vaidroll.css
*
{
box-sizing: border-box;
font-family: sans-serif;
}
body
{
margin: 0;
padding: 0;
background: url(fondo.jpg) no-repeat center top;
background-size: cover;
}
.cajafuera
{
width: 100vw;
height: 100vh;
display: grid;
overflow: hidden;
}
.formulariocaja
{
background-color: rgba(0, 0, 0, .5);
width: 400px;
height: auto;
position: relative;
margin: auto;
margin-right:10%;
padding: 1em;
border-radius: 5px;
color:white;
border:2px solid white;
}
input
{
display: block;
text-align: left;
box-sizing: border-box;
}
::placeholder {
color: white;
opacity: 1;
}
.cajaentradatexto{
width: 80%;
padding: 14px 10px;
font-size:1em;
border-radius:2px;
border:1px solid white;
background:transparent;
color:white;
font-weight: bold;
}
.formtitulo
{
font-size:2em;
font-weight: bold;
padding-bottom:0.8em;
}
.formsubtitulo
{
font-size:1.5em;
font-weight: bold;
padding-bottom:0.5em;
}
a
{
text-decoration: none;
cursor:pointer;
color:orange;
}
.af
{
margin-right:10%;
margin-top:5%;
}
.botonenviar
{
width: 80%;
padding: 10px 30px;
cursor: pointer;
display: block;
margin-top: 10px;
border: 0;
outline: none;
border-radius: 10px;
border:1px solid black;
font-size:16px;
color:white;
background-color: #1C62C1;
text-align:center;
margin:5%;
}
img
{
width: 120px;
}
@media screen and (max-width:425px)
{
.formulariocaja
{
width: 100%
}
}
Opción 2:
Tamaño 1
Tamaño 2
index.html
<html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>VaidrollTeamLogin6</title> <link rel="stylesheet" href="vaidroll.css"> </head> <body> <div class="cajafuera" align="center"> <div class="formulariocaja"> <form method="post" action="" name="vaidrollteam"> <div class="formtitulo">Login</div> <img src="logo.png"/> <input type="text" name="txtusuario" placeholder="🔑 Ingresar usuario" class="cajaentradatexto"> <input type="password" name="txtpassword" placeholder="🔒 Ingresar password" class="cajaentradatexto"> <div align="right" class="af"><a href="#">Recuperar contraseña</a></div> <input type="submit" value="Iniciar sesión" class="botonenviar"> <div>¿Necesitas una cuenta? <a href="#">Registrar</a></div> </form> </div> </div> </body> </html>
vaidroll.css
*
{
box-sizing: border-box;
font-family: sans-serif;
}
body
{
margin: 0;
padding: 0;
background: url(fondo.jpg) no-repeat center top;
background-size: cover;
}
.cajafuera
{
width: 100vw;
height: 100vh;
display: grid;
overflow: hidden;
}
.formulariocaja
{
background-color: rgba(0, 0, 0, .5);
width: 400px;
height: auto;
position: relative;
margin: auto;
padding: 1em;
border-radius: 5px;
color:white;
border:2px solid white;
}
input
{
display: block;
text-align: left;
box-sizing: border-box;
}
::placeholder {
color: white;
opacity: 1;
}
.cajaentradatexto{
width: 80%;
padding: 14px 10px;
font-size:1em;
border-radius:2px;
border:1px solid white;
background:transparent;
color:white;
font-weight: bold;
}
.formtitulo
{
font-size:2em;
font-weight: bold;
padding-bottom:0.8em;
}
.formsubtitulo
{
font-size:1.5em;
font-weight: bold;
padding-bottom:0.5em;
}
a
{
text-decoration: none;
cursor:pointer;
color:orange;
}
.af
{
margin-top:5%;
}
.botonenviar
{
width: 80%;
padding: 10px 30px;
cursor: pointer;
display: block;
margin-top: 10px;
border: 0;
outline: none;
border-radius: 10px;
border:1px solid white;
font-size:16px;
color:white;
background-color: rgba(0, 0, 0, .5);
text-align:center;
margin:5%;
font-weight: bold;
}
img
{
width: 120px;
}
Opción 3:
Tamaño 1
Tamaño 2
Código
index.html
<html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>VaidrollTeamLogin6</title> <link rel="stylesheet" href="vaidroll.css"> </head> <body> <div class="cajafuera" align="center"> <div class="formulariocaja"> <form method="post" action="" name="vaidrollteam"> <div class="formtitulo">Iniciar sesión</div> <img src="logo.png"/> <div align="left" class="textoscajas">🔑 Ingresar usuario</div> <input type="text" name="txtusuario" class="cajaentradatexto"> <div align="left" class="textoscajas"> 🔒 Ingresar password </div> <input type="password" name="txtpassword" class="cajaentradatexto"> <div align="right" class="af"><a href="#">Recuperar contraseña</a></div> <input type="submit" value="Iniciar sesión" class="botonenviar"> <div>¿Necesitas una cuenta? <a href="#">Registrar</a></div> </form> </div> </div> </body> </html>
vaidroll.css
*
{
box-sizing: border-box;
font-family: sans-serif;
}
body
{
margin: 0;
padding: 0;
background: url(fondo.png) no-repeat center top;
background-size: cover;
}
.cajafuera
{
width: 100vw;
height: 100vh;
display: grid;
overflow: hidden;
}
.formulariocaja
{
background-color: rgba(0, 0, 0, .5);
width: 400px;
height: auto;
position: relative;
margin: auto;
margin-right:15%;
padding: 1em;
border-radius: 5px;
color:white;
border:2px solid white;
}
input
{
display: block;
text-align: left;
box-sizing: border-box;
}
::placeholder {
color: white;
opacity: 1;
}
.cajaentradatexto{
width: 80%;
padding: 14px 10px;
font-size:1em;
border-radius:2px;
border:1px solid white;
background:transparent;
color:white;
font-weight: bold;
}
.formtitulo
{
font-size:2em;
font-weight: bold;
padding-bottom:0.8em;
}
.formsubtitulo
{
font-size:1.5em;
font-weight: bold;
padding-bottom:0.5em;
}
a
{
text-decoration: none;
cursor:pointer;
color:orange;
}
.af
{
margin-right:10%;
margin-top:5%;
}
.botonenviar
{
width: 80%;
padding: 10px 30px;
cursor: pointer;
display: block;
margin-top: 10px;
border: 0;
outline: none;
border-radius: 10px;
border:1px solid black;
font-size:16px;
color:white;
background-color: rgba(0, 0, 0, .5);
text-align:center;
margin:5%;
font-weight: bold;
}
img
{
width: 120px;
}
.textoscajas
{
margin-left:8%;
font-weight: bold;
margin-top:2%;
margin-bottom:2%;
}
Opción 4:
Tamaño 1
Tamaño 2
Código
index.html
<html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>VaidrollTeamLogin6</title> <link rel="stylesheet" href="vaidroll.css"> </head> <body> <div class="cajafuera" align="center"> <div class="formulariocaja"> <form method="post" action="" name="vaidrollteam"> <div class="formtitulo">Login</div> <div align="left" class="textoscajas">🔑 Ingresar usuario</div> <input type="text" name="txtusuario" class="cajaentradatexto"> <div align="left" class="textoscajas"> 🔒 Ingresar password </div> <input type="password" name="txtpassword" class="cajaentradatexto"> <div align="right" class="af"><a href="#">Recuperar contraseña</a></div> <input type="submit" value="Iniciar sesión" class="botonenviar"> <hr> <div class="imgv"/> <img src="icofb.png" /> <img src="icotw.png" /> </div> <div>¿Necesitas una cuenta? <a href="#">Registrar</a></div> </form> </div> <div class="autor"> © 2021 Formulario Login. Todos los derechos reservados | Diseño de VaidrollTeam <div> </div> </body> </html>
vaidroll.css
*
{
box-sizing: border-box;
font-family: sans-serif;
color:black;
}
body
{
margin: 0;
padding: 0;
background: #f2f2f2;
}
.cajafuera
{
width: 100vw;
height: 100vh;
display: grid;
overflow: hidden;
background: rgb(2,0,36);
background: linear-gradient(140deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(5,100,181,1) 64%, rgba(0,212,255,1) 100%);
}
.formulariocaja
{
background-color: #f3f3f3;
width: 400px;
height: auto;
position: relative;
margin: auto;
padding: 1em;
border-radius: 5px;
color:white;
border:0.1em solid black;
}
input
{
display: block;
text-align: left;
box-sizing: border-box;
}
.cajaentradatexto{
width: 80%;
padding: 10px;
font-size:1em;
border-radius:5px;
border:1px solid black;
color:black;
font-weight: bold;
}
.formtitulo
{
font-size:2em;
font-weight: bold;
padding-bottom:0.8em;
color:black;
}
a
{
text-decoration: none;
cursor:pointer;
color:#1A3A83;
font-weight: bold;
}
.af
{
margin-right:10%;
margin-top:5%;
}
.botonenviar
{
width: 80%;
padding: 10px 30px;
cursor: pointer;
display: block;
margin-top: 10px;
border: 0;
outline: none;
border-radius: 10px;
border:1px solid black;
font-size:16px;
color:white;
background-color: #6D26D3;
text-align:center;
margin:5%;
font-weight: bold;
}
img
{
width: 150px;
}
.imgv
{
padding:20px;
}
.imgv img
{
cursor: pointer;
max-width: 20%;
height:auto;
margin-right:10px;
margin-left:10px;
}
.textoscajas
{
margin-left:8%;
font-weight: bold;
margin-top:2%;
margin-bottom:2%;
color:black
}
.autor
{
color:white;
}
Opción 5:
Tamaño 1
Tamaño 2
Código
index.html
<html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>VaidrollTeamLogin6</title> <link rel="stylesheet" href="vaidroll.css"> </head> <body> <div class="cajafuera" align="center"> <div class="formulariocaja"> <form method="post" action="" name="vaidrollteam"> <div class="formtitulo" align="left">Login</div> <input type="text" name="txtusuario" placeholder="🔑 Ingresar usuario" class="cajaentradatexto"> <input type="password" name="txtpassword" placeholder="🔒 Ingresar password" class="cajaentradatexto"> <div align="right" class="af"><a href="#">Recuperar contraseña</a></div> <input type="submit" value="Iniciar sesión" class="botonenviar"> <hr> <div class="imgv"/> <img src="icofb.png" /> <img src="icotw.png" /> </div> <div>¿Necesitas una cuenta? <a href="#">Registrar</a></div> </form> </div> © 2021 Formulario Login. Todos los derechos reservados | Diseño de VaidrollTeam </div> </body> </html>
vaidroll.css
*
{
box-sizing: border-box;
font-family: sans-serif;
color:black;
}
body
{
margin: 0;
padding: 0;
}
.cajafuera
{
width: 100vw;
height: 100vh;
display: grid;
overflow: hidden;
background: #f2f2f2;
}
.formulariocaja
{
background-color: white;
width: 450px;
height: 600PX;
position: relative;
margin: auto;
padding: 1em;
border-radius: 5px;
color:white;
border:0.1em solid #C2C2C2;
}
input
{
display: block;
text-align: left;
box-sizing: border-box;
}
.cajaentradatexto{
width: 80%;
padding: 10px;
font-size:1em;
color:black;
border: none;
box-sizing: border-box;
border-bottom: 1px solid #c3c3c3;
background: transparent;
margin-bottom: 2em;
}
.formtitulo
{
margin-top:1.5em;
font-size:2em;
font-weight: bold;
padding-bottom:0.8em;
color:black;
padding-left:1em;
}
a
{
text-decoration: none;
cursor:pointer;
color:#462259;
}
.af
{
margin-right:10%;
margin-top:5%;
}
.botonenviar
{
width: 80%;
padding: 12px 30px;
cursor: pointer;
display: block;
margin-top: 10px;
border: 0;
outline: none;
border-radius: 10px;
border:1px solid black;
font-size:1.2em;
color:white;
background-color: #7C1142;
text-align:center;
margin:5%;
font-weight: bold;
}
.imgv
{
padding:20px;
}
.imgv img
{
cursor: pointer;
max-width: 20%;
height:auto;
margin-right:10px;
margin-left:10px;
}
hr
{
width:80%;
}
Listo.










