Ir al contenido principal

HTML Fiftieth Web Page = Código y CSS

<!DOCTYPE html>
<html>
<head>
<title>INTRODUCING CSS</title>
<link href="form.css" type="text/css" rel="stylesheet" />

</head>
<body>
<form>
<input type="text" name="email" class="email">
<input type="text" name="twitter" class="twitter">
<input type="text" name="web" class="web">
</form>
</body>
</html>


<!DOCTYPE css>
input{
font-size: 120%;/*Este Cambia el tamaño del cuadro*/
color: #5a5854;/*No hace nada */
background-color: #f2f2f2;/*Le cambia el color*/
border: 1px solid #bdbdbd;/*modifica el borde*/
border-radius: 5px;/*Modifica el borde*/
padding: 5px 5px 5px 30px;/*Cambia el tamañp del cuadro x2*/
background-repeat: no-repeat;/*Al parecer le quita el diseño idk*/
background-position: 8px 9px;/*Cambia la posicion de las imagenes*/
display: block;/*Tambien le quita todo el diseño idk*/
margin-bottom: 10px;/*Junta los cuadros*/}
input:focus{/*Para cuando se selecciona cambiar a color blanco*/
background-color: #ffffff;
border: 1px solid #d1e1e4;}
.email{
background-image: url('img/dots.jpg');/*Introduce la imagen*/
padding-left: 20px;/*Lo junta a la izquierda y lo modifica*/
background-size: 20px 20px;/*Modifica el tamaño de la imagen*/
}
.twitter{
background-image: url('img/Twitter.png');/*Introduce la imagen*/
padding-left: 20px;/*Lo junta a la izquierda y lo modifica*/
background-size: 20px 20px;/*Modifica el tamaño de la imagen*/
}
.web{
background-image: url('img/Web.png');/*Introduce la imagen*/
padding-left: 20px;/*Lo junta a la izquierda y lo modifica*/
background-size: 20px 20px;/*Modifica el tamaño de la imagen*/
}

Comentarios

Entradas populares de este blog

Layout 16 = Código y CSS

<!DOCTYPE html> <html> <head> <title>Multiple Style Sheets - Import</title> <link href="layout16.css" type="text/css" rel="stylesheet" /> </head> <body> <!-- HTML page content here --> </body> </html> <!DOCTYPE css> @import url("layout12.css"); @import url("layout15.css"); body{ color: #666666; background-color: #f8f8f8; text-align: center;} #page{ width: 600px; text-align: left; margin-left: auto; margin-right: auto; border: 1px solid #d6d6d6; padding: 20px;} h3{ color: #547ca0;}

Layout 10 = Código y CSS

<!DOCTYPE html> <html> <head> <title>Layouts</title> <link href="layout10.css" type="text/css" rel="stylesheet" /> </head> <body> <h1>The Evolution of the Cell Phone</h1> <div> <p>In April 1973, Motorola engineer Marty Cooper made the first call from a “real handheld portable cell phone,” a point he made very clear during that historic conversation with Joel Engel, the head of rival research firm Bell Labs. Fast forward to June 29, 2007, and the iPhone was born. Now in 2014, innovation is showing no sign of slowing down. Since that fateful phone call four decades ago, mobile phones have evolved dramatically. Those magical portable technology boxes have become an essential part of interpersonal communication, and their significance will only increase with time. From the rise of SMS to anywhere, anytime Internet connec...

Layout 12 = Código y CSS

<!DOCTYPE html> <html> <head> <title>Layouts</title> <link href="layout12.css" type="text/css" rel="stylesheet" /> </head> <body> <div class="example1"> <h1>The Evolution of the Cell Phone</h1> <p>In April 1973, Motorola engineer Marty Cooper made the first call from a “real handheld portable cell phone,” a point he made very clear during that historic conversation with Joel Engel, the head of rival research firm Bell Labs. Fast forward to June 29, 2007, and the iPhone was born. Now in 2014, innovation is showing no sign of slowing down. Since that fateful phone call four decades ago, mobile phones have evolved dramatically. Those magical portable technology boxes have become an essential part of interpersonal communication, and their significance will only increase with time. From the rise of SMS to anywhere, ...