SESIÓN 8 - Estilos de pagina II
css
/*Código CSS Práctica 8 HTML.css
*/
*{
box-sizing: border-box;
}
header,footer{
background-color: white;
border-style: solid;
border-radius: 20px;
padding: 5px;
text-align: center;
}
.separador2{
width: 2%;
height: 1px;
float: left;
}
.separador1{
height: 10px;
clear: both;
}
.centro{
width: 65%;
margin-left: auto;
margin-right: auto;
display: block;
}
body{
background-image: url(foto1.jpg);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed
}
img{
transition: all 0.5s ease;
border-style: solid;
border-color: azure;
}
img:hover{
transform:scale(0.9);
border-radius: 30px;
}
.main img{
width: 49%;
float: left;
}
Comentarios
Publicar un comentario