Advertisement
Guest User

Untitled

a guest
Apr 26th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width">
  6. <title>Maquetacion</title>
  7. <link rel="stylesheet" href="css/estilos.css">
  8. <style id="jsbin-css">
  9. *{
  10. margin:0px;
  11. padding:0px;
  12. }
  13.  
  14. body {
  15. background:#444;
  16. color:#fff;
  17. }
  18.  
  19. #contenedor{
  20. width:960px;
  21. margin: auto;
  22. margin-top: 20px;
  23. margin-bottom: 20px;
  24. background: #000;
  25. }
  26.  
  27. header{
  28. height:150px;
  29. background: #000;
  30. }
  31.  
  32. header h1 {
  33. font-size: 50px;
  34. text-align: center;
  35. line-height:150px;
  36. }
  37.  
  38. section {
  39. width: 700px;
  40. height: 500px;
  41. float: left;
  42. background: blue;
  43. margin-top: 10px;
  44. margin-right; 10px;
  45. }
  46.  
  47.  
  48. aside {
  49. width: 50px;
  50. height:50px;
  51. background: green;
  52. margin-top: 10px;
  53. float: right;
  54. }
  55.  
  56. aside h2 {
  57. width: 40px;
  58. height:50px;
  59. background: green;
  60. margin-top: 10px;
  61. float: right;
  62. }
  63.  
  64. footer{
  65. background: black;
  66. clear: both;
  67. }
  68. footer h2 {
  69. font size:40px;
  70.  
  71. }
  72. </style>
  73. </head>
  74. <body>
  75. <header>
  76. <h1>Encabezado</h1>
  77. </header>
  78.  
  79. <aside>
  80. <h2>Lateral</h2>
  81. </aside>
  82. <aside>
  83. <h2>Lateral</h2>
  84. </aside>
  85.  
  86. <section>
  87. <h2>Seccion</h2>
  88. </section>
  89. <aside>
  90. <h2>Lateral</h2>
  91. </aside>
  92. <aside>
  93. <h2>Lateral</h2>
  94. </aside>
  95.  
  96. <footer>
  97. <h2>Pie de pagina</h2>
  98. </footer>
  99.  
  100.  
  101. <script id="jsbin-source-html" type="text/html"><!DOCTYPE html>
  102. <html>
  103. <head>
  104. <meta charset="utf-8">
  105. <meta name="viewport" content="width=device-width">
  106. <title>Maquetacion</title>
  107. <link rel="stylesheet" href="css/estilos.css">
  108. </head>
  109. <body>
  110. <header>
  111. <h1>Encabezado</h1>
  112. </header>
  113.  
  114. <aside>
  115. <h2>Lateral</h2>
  116. </aside>
  117. <aside>
  118. <h2>Lateral</h2>
  119. </aside>
  120.  
  121. <section>
  122. <h2>Seccion</h2>
  123. </section>
  124. <aside>
  125. <h2>Lateral</h2>
  126. </aside>
  127. <aside>
  128. <h2>Lateral</h2>
  129. </aside>
  130.  
  131. <footer>
  132. <h2>Pie de pagina</h2>
  133. </footer>
  134.  
  135. </body>
  136. </html>
  137.  
  138.  
  139.  
  140.  
  141.  
  142. </script>
  143.  
  144. <script id="jsbin-source-css" type="text/css">*{
  145. margin:0px;
  146. padding:0px;
  147. }
  148.  
  149. body {
  150. background:#444;
  151. color:#fff;
  152. }
  153.  
  154. #contenedor{
  155. width:960px;
  156. margin: auto;
  157. margin-top: 20px;
  158. margin-bottom: 20px;
  159. background: #000;
  160. }
  161.  
  162. header{
  163. height:150px;
  164. background: #000;
  165. }
  166.  
  167. header h1 {
  168. font-size: 50px;
  169. text-align: center;
  170. line-height:150px;
  171. }
  172.  
  173. section {
  174. width: 700px;
  175. height: 500px;
  176. float: left;
  177. background: blue;
  178. margin-top: 10px;
  179. margin-right; 10px;
  180. }
  181.  
  182.  
  183. aside {
  184. width: 50px;
  185. height:50px;
  186. background: green;
  187. margin-top: 10px;
  188. float: right;
  189. }
  190.  
  191. aside h2 {
  192. width: 40px;
  193. height:50px;
  194. background: green;
  195. margin-top: 10px;
  196. float: right;
  197. }
  198.  
  199. footer{
  200. background: black;
  201. clear: both;
  202. }
  203. footer h2 {
  204. font size:40px;
  205.  
  206. }
  207.  
  208.  
  209. </script>
  210. </body>
  211. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement