Advertisement
Guest User

Untitled

a guest
May 27th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 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>JS Bin</title>
  7. <style id="jsbin-css">
  8. #vaszon{
  9. width: 500px;
  10. height: 500px;
  11. background-color: ivory;
  12. margin: 0 auto;
  13. box-shadow: 15px 15px 10px gray;
  14. }
  15. #first-row{
  16. height: 60%;
  17. width: 100%;
  18. ;
  19. }
  20. #big-rectangle{
  21. height: 100%;
  22. width: 25%;
  23.  
  24. }
  25. .red{
  26. background-color: red;
  27. }
  28. .brown{
  29. background-color: brown;
  30. }
  31. .right{
  32. float:right;
  33. }
  34. .black{
  35. background-color:black;
  36. }
  37. #first-divider{
  38. height: 100%;
  39. width: 3%;
  40. }
  41. .left{
  42. float:left;
  43. }
  44. #first-column{
  45. height: 100%;
  46. width: 72%;
  47. }
  48. #first-medium-rectangle{
  49. height: 48.5%;
  50. width: 100%;
  51. }
  52.  
  53. #second-divider{
  54. height: 3%;
  55. width: 100%;
  56. }
  57. #second-medium-rectangle{
  58. height: 48.5%;
  59. width: 100%;}
  60. #second-row {
  61. height: 3%;
  62. width: 100%;
  63. }
  64. #third-row{
  65. height: 37%;
  66. width: 100%;
  67. }
  68. #last-column{
  69. height:100%;
  70. width:25%;
  71. }
  72. #first-small-rectangle{
  73. height: 45%;
  74. width: 100%;
  75. }
  76. #third-divider{
  77. height:10%;
  78. width:100%;
  79. }
  80. #second-small-rectangle{
  81. height: 45%;
  82. width: 100%;
  83. }
  84. .yellow{
  85. background-color:yellow;
  86. }
  87. #fourth-divider{
  88. height: 100%;
  89. width: 3%;
  90. }
  91. .blue{
  92. background-color:blue;
  93. }
  94. #blue-rectangle{
  95. height: 100%;
  96. width: 22%;
  97. }
  98. .green{
  99. background-color: green;
  100. }
  101. .white{
  102. background-color: white;
  103. }
  104. #white-rectangle{
  105. height: 100%;
  106. width: 47%;
  107. }
  108. #fifth-divider{
  109. height: 100%;
  110. width: 3%;
  111. }
  112. </style>
  113. </head>
  114. <body>
  115. <div id = "vaszon">
  116. <div id = "first-row" class="brown">
  117. <div id= "big-rectangle" class= "red right"></div>
  118. <div id="first-divider" class="black right"></div>
  119. <div id="first-column" class="right">
  120. <div id="first-medium-rectangle" class="green"></div>
  121. <div id ="second-divider" class="black"></div>
  122. <div id="second-medium-rectangle" class=" white " ></div>
  123. </div>
  124. </div>
  125.  
  126. <div id="second-row" class="black"></div>
  127.  
  128. <div id ="third-row">
  129. <div id="last-column" class="right">
  130. <div id="first-small-rectangle"></div>
  131. <div id ="third-divider" class="black"></div>
  132. <div id="second-small-rectangle" class="yellow"></div>
  133. </div>
  134. <div id="fourth-divider" class="black right">
  135. </div>
  136. <div id="white-rectangle" class="white right">
  137. </div>
  138. <div id="fifth-divider" class="black right">
  139. </div>
  140. <div id="blue-rectangle" class ="blue right">
  141. </div>
  142.  
  143.  
  144.  
  145. <script id="jsbin-source-css" type="text/css">#vaszon{
  146. width: 500px;
  147. height: 500px;
  148. background-color: ivory;
  149. margin: 0 auto;
  150. box-shadow: 15px 15px 10px gray;
  151. }
  152. #first-row{
  153. height: 60%;
  154. width: 100%;
  155. ;
  156. }
  157. #big-rectangle{
  158. height: 100%;
  159. width: 25%;
  160.  
  161. }
  162. .red{
  163. background-color: red;
  164. }
  165. .brown{
  166. background-color: brown;
  167. }
  168. .right{
  169. float:right;
  170. }
  171. .black{
  172. background-color:black;
  173. }
  174. #first-divider{
  175. height: 100%;
  176. width: 3%;
  177. }
  178. .left{
  179. float:left;
  180. }
  181. #first-column{
  182. height: 100%;
  183. width: 72%;
  184. }
  185. #first-medium-rectangle{
  186. height: 48.5%;
  187. width: 100%;
  188. }
  189.  
  190. #second-divider{
  191. height: 3%;
  192. width: 100%;
  193. }
  194. #second-medium-rectangle{
  195. height: 48.5%;
  196. width: 100%;}
  197. #second-row {
  198. height: 3%;
  199. width: 100%;
  200. }
  201. #third-row{
  202. height: 37%;
  203. width: 100%;
  204. }
  205. #last-column{
  206. height:100%;
  207. width:25%;
  208. }
  209. #first-small-rectangle{
  210. height: 45%;
  211. width: 100%;
  212. }
  213. #third-divider{
  214. height:10%;
  215. width:100%;
  216. }
  217. #second-small-rectangle{
  218. height: 45%;
  219. width: 100%;
  220. }
  221. .yellow{
  222. background-color:yellow;
  223. }
  224. #fourth-divider{
  225. height: 100%;
  226. width: 3%;
  227. }
  228. .blue{
  229. background-color:blue;
  230. }
  231. #blue-rectangle{
  232. height: 100%;
  233. width: 22%;
  234. }
  235. .green{
  236. background-color: green;
  237. }
  238. .white{
  239. background-color: white;
  240. }
  241. #white-rectangle{
  242. height: 100%;
  243. width: 47%;
  244. }
  245. #fifth-divider{
  246. height: 100%;
  247. width: 3%;
  248. }
  249. </script>
  250. </body>
  251. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement