Advertisement
Guest User

surf

a guest
Jun 18th, 2018
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.73 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang='ru'>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Магазин досок</title>
  6. <link rel="stylesheet" href="style.css">
  7. </head>
  8. <body>
  9.  
  10.  
  11. <header>
  12. <div class="wrapperHeader">
  13. <div class="logo">
  14. <div class="imgLogo">
  15. <a href="index.html">
  16. <img src="images/surfhouseLogo.png" alt="Логотип">
  17. </a>
  18. </div>
  19. <div class="soc">
  20.  
  21. </div>
  22. </div>
  23. <div class="hello">
  24. </div>
  25. <div class="hot">
  26. <h2>JP FUNRIDE 2014</h2>
  27. <p>
  28. Super easy coing freerade boards
  29. based by X-clipt concept with
  30. aditonal control and super easy bijjing!
  31. </p>
  32. <a href="#" >Buy now</a>
  33. </div>
  34. </div>
  35. </header>
  36.  
  37. <div class="content">
  38. <div class="wrapperContent">
  39.  
  40. <div class="contentLeft">
  41.  
  42. </div>
  43. <div class="contentRight">
  44.  
  45. </div>
  46. <div class="subfuter">
  47. <div class="brand">
  48.  
  49. </div> <!-- Дополнительно после курса js -->
  50. <div class="instagramm"> <!-- Можно получить из instagramm API -->
  51.  
  52. </div>
  53. <div class="socBig"><!-- Сервис предоставления соц.кнопок -->
  54.  
  55. </div>
  56. </div>
  57. </div>
  58. <footer>
  59. <div class="footerMenu"><!-- флексбокс -->
  60.  
  61. </div>
  62. <div class="copSoc">
  63. <!--Копирайт и соцкнопки -->
  64. </div>
  65. </footer>
  66. </div>
  67. </body>
  68. </html>
  69.  
  70. @font-face {
  71. font-family: Raleway-Bold; /* Имя шрифта */
  72. src: url(fonts/Raleway-Bold.ttf);
  73. }
  74. @font-face {
  75. font-family: Raleway-Regular;
  76. src: url(fonts/Raleway-Regular.ttf);
  77. }
  78. html,body{
  79. margin: 0;
  80. }
  81. header{
  82. background: gray;
  83. height: 700px;
  84. }
  85. .wrapperHeader{
  86. width: 1150px;
  87. margin: 0 auto;
  88. background: blue;
  89. }
  90. .wrapperHeader:after{
  91. display: block;
  92. content: '';
  93. clear: both;
  94. }
  95. .logo{
  96. height: 150px;
  97. margin:0 auto;
  98. background: #234213;
  99. }
  100. .logo:after{
  101. display: block;
  102. content: '';
  103. clear: both;
  104. }
  105. .imgLogo {
  106. float: left;
  107. }
  108. .imgLogo a{
  109. display: inline-block;
  110. margin: 20px 0 0 70px; /* верх низ право лево*/
  111. }
  112. .soc{
  113. background: #456789;
  114. display: inline-block;
  115. height: 10px;
  116. width: 100px;
  117. float: right;
  118. margin: 50px 120px 0 0;
  119. }
  120. .hello{
  121. width: 270px;
  122. height: 300px;
  123. margin: 185px auto 0;
  124. float: left;
  125. background: white;
  126. }
  127. .hot{
  128. width: 320px;
  129. float: right;
  130. background: white;
  131. margin: 100px 30px;
  132. }
  133. .hot h2{
  134. font-size:45px;
  135. display: inline-block;
  136. font-family: 'Raleway-Bold';
  137. color:#fffa8f;
  138. line-height: 40px;
  139. margin: 0;
  140. }
  141. .hot p {
  142. font-size: 20px;
  143. font-family: 'Raleway-Regular';
  144. color:#fffa8f;
  145. line-height: 24px;
  146.  
  147. margin:0 0 30px 0;
  148. }
  149. .hot a{
  150. display: inline-block;
  151. text-decoration: none;
  152. padding: 20px;
  153. background: #fffa8f;
  154. font-family: 'Raleway-Bold';
  155. color:black;
  156. }
  157. .wrapperContent{
  158. width: 1150px;
  159. padding-top: 20px;
  160. margin:0 auto;
  161. background: #235212;
  162. }
  163. .wrapperContent:after{
  164. display: block;
  165. content: '';
  166. clear: both;
  167. }
  168. .content{
  169. background: green;
  170. }
  171. .contentLeft{
  172. width: 23%;
  173. height: 400px;
  174. float: left;
  175. background: orange;
  176. margin: -40px auto 0;
  177. }
  178. .contentRight{
  179. float: right;
  180. width:75%;
  181. height: 400px;
  182. background: #241245;
  183. margin: -40px auto 0;
  184. }
  185.  
  186. .subfuter{
  187. background: #df4324;
  188. height: 200px;
  189. clear: both;
  190. }
  191. .photo{
  192. background: #e34;
  193. height: 200px;
  194. }
  195. footer{
  196. background: yellow;
  197. height: 300px;
  198. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement