Andrea Aranda
Pregunta¡Hola1 Alguien tiene el código que hizo Freddy? Según yo lo copié igual pero no me queda jeje, no sé si algo me esté fallando 😃 gracias!
Tan Zuñiga
Aquí están :)
CSS
body{ color: #333; text-align: center; font-family: "Arial"; font-size: 16px; margin: 0; padding: 0; } #cabecera{ background: #33A; color: white; box-shadow: 0px 2px 20px 0px rgba(0,0,0,0.5); font-weight: bold; margin: 0; padding: 0.5em; } #cabecera #tagline{ margin: 0 0 0 1em; font-weight: normal; font-size: 0.8em; } #container{ width: 70%; padding: 1em; text-align: left; border: 1px solid #333; box-shadow: 0px 2px 20px 0px rgba(0,0,0,0.5); margin: 0 auto; } #container h1{ font-size: 20px; } #post{ padding: 1em; }
HTML
<html> <head> <title>Título padre</title> <link rel="stylesheet" href="css/estilos.css" /> </head> <body> <div id = "container"> <div id = "cabecera"> Hyperblog <span id = "tagline">Tu blog de cabecera</span> </div> <div id = "post"> <h1>Aqui hacemos un blog que hablará de cosas interesantes </h1> <p>Y este es el primer párrafo que deberá mostrarse en la página </p> <p>Susribete y dale like</p> </div> </div> </body> </html>
Kevin J. Zea Alvarado
¡Hola, Andrea! 🙌
A veces el código que se pega con la herramienta de
</> Insertar código![Curso de Git y Github [Empieza Gratis]](https://static.platzi.com/media/courses/git-github-og_4yjKsBZ.png)