Estoy dandole a esto del HTML y CSS publique un post anterior explicando mis frustraciones y hoy sigo practicando.
Estoy tratando de hacer el siguiente header me he bajado un monto de psd para practicar y este me pareció el mas sencillo.
Estoy intentando posicionar los elementos pero no logro hacer que queden como el psd dejo el codigo:
[img]http://prntscr.com/9dp1fy[/img]
Código HTML :
<body> <header> <div class="head-content"> <h1>This is a Title</h1> <h3>This is an awesome headline</h3> <hr> <section class="autor-segment"> <p class="pautor">WRITTEN BY</p> <p class="autor">Arthur GUILLERMIN HAZAN <span><img src="images/autor-image.png" alt=""></span></p> </section> <ul class="icons"> <li> <a href=""><img src="images/start.png" alt=""></a> </li> <li> <a href=""><img src="images/corazon.png" alt=""></a> </li> <li> <a href=""><img src="images/figura.png" alt=""></a> </li> </ul> </div> </header>
Código CSS :
body {
}
header {
background-image: url(../images/header-bg.jpg);
max-width: 100%;
height: 770px;
}
.head-content {
position: relative;
top: 554px;
}
.head-content h1 {
color: #ffffff;
font: 400 60px / 24px GentiumBookBasic;
}
.head-content h3 {
color: #d7d7d7;
font: italic 30px / 24px GentiumBookBasic;
}
autor-segment {
}
.pautor {
color: #d7d7d7;
font: 700 12px / 20px OpenSans;
}
.autor {
color: #ffffff;
font: 700 15px / 20px OpenSans;
height: 12px;
}
.autor span {
margin-left: 10px;
}
.icons ul {
}
.icons li {
display: inline-block;
margin-left: 15px;
float: right;
}Espero su ayuda.
