Advertisement
Guest User

Untitled

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