Hoja de estilos CSS
*{
margin:0 auto;
padding:0px;
font-family:Arial;
}
header{
background:#FF5733;
color:#FFFFFF;
font-size:3em;
width:95%;
padding:10px;
margin:5px 5px;
display:inline-block;
border:solid 1px #ccc;
border-radius:25px;
}
header figure{
float:left;
}
header h1{
float:right;
}
nav{
font-size:1em;
width:95%;
padding:5px;
margin:1px 1px;
text-align:center;
}
nav ul{
list-style-type:none;
}
nav li{
display:inline;
text-align:center;
margin:0 15px 0 0;
}
nav li a{
padding:2px 7px 2px 7px;
color:#FF5733;
background-color:#FFFFFF;
border:1px solid #ccc;
text-decoration:none;
}
nav li a:hover{
background:#FF5733;
color:#FFFFFF;
}
No hay comentarios:
Publicar un comentario