Advertisement
cornford-michael

Gridarea4-5

Jan 29th, 2018
786
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)">
  6. <meta name="dcterms.created" content="Mon, 15 Jan 2018 00:09:05 GMT">
  7. <meta name="description" content="">
  8. <meta name="keywords" content="">
  9. <title></title>
  10. <style>
  11.  
  12. body {
  13. margin: 2vh;
  14. background-color: #d7f7f7;
  15. }
  16. .margin-b{margin-bottom: 2vh;}
  17.  
  18. .wrapper_C4 {
  19. display: grid;
  20. grid-gap: 2vh;
  21. grid-template-columns: 1fr 1fr 1fr 1fr;
  22. background-color: #f7f7f7;
  23. color: #444;
  24. }
  25. .wrapper_C5 {
  26. display: grid;
  27. grid-gap: 2vh;
  28. grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  29. background-color: #f7f7f7;
  30. color: #444;
  31. }
  32.  
  33. .box {
  34. background-color: white;
  35. color: black;
  36. border-radius: 5px;
  37. padding: 2vh;
  38. font-size: 150%;
  39.  
  40.  
  41. }
  42. .thin{height: 7vh; }
  43. .body{height: 66vh; }
  44.  
  45.  
  46.  
  47. .a5-1 {
  48. grid-column: 1 / span 1;
  49. }
  50. .a5-2 {
  51. grid-column: 2 / span 1;
  52. }
  53. .a5-3 {
  54. grid-column: 3 / span 1;
  55. }
  56. .a5-4 {
  57. grid-column: 4 / span 1;
  58. }
  59. .a5-5 {
  60. grid-column: 5 / span 1;
  61. }
  62. .b5-1 {
  63. grid-column: 1 / span 1;
  64. }
  65. .b5-2 {
  66. grid-column: 2 / span 1;
  67. }
  68. .b5-3 {
  69. grid-column: 3 / span 1;
  70. }
  71. .b5-4 {
  72. grid-column: 4 / span 1;
  73. }
  74. .b5-5 {
  75. grid-column: 5 / span 1;
  76. }
  77. .c5-1 {
  78. grid-column: 1 / span 1;
  79. }
  80. .c5-2 {
  81. grid-column: 2 / span 1;
  82. }
  83. .c5-3 {
  84. grid-column: 3 / span 1;
  85. }
  86. .c5-4 {
  87. grid-column: 4 / span 1;
  88. }
  89. .c5-5 {
  90. grid-column: 5 / span 1;
  91. }
  92.  
  93.  
  94. .
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101. </style>
  102. <!--[if IE]>
  103. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  104. <![endif]-->
  105. </head>
  106. <body>
  107. <div class="wrapper_C4 margin-b">
  108. <div class="box a5-1 thin">Height 7vh but 2vh padding</div>
  109. <div class="box a5-2 thin">Height 7vh but 2vh padding</div>
  110. <div class="box a5-3 thin">Height 7vh but 2vh padding</div>
  111. <div class="box a5-4 thin">Height 7vh but 2vh padding</div>
  112.  
  113. <div class="box b5-1 thin">Height 7vh but 2vh padding</div>
  114. <div class="box b5-2 thin">Height 7vh but 2vh padding</div>
  115. <div class="box b5-3 thin">Height 7vh but 2vh padding</div>
  116. <div class="box b5-4 thin">Height 7vh but 2vh padding</div>
  117.  
  118.  
  119. <div class="box c5-1 thin">Height 7vh but 2vh padding</div>
  120. <div class="box c5-2 thin">Height 7vh but 2vh padding</div>
  121. <div class="box c5-3 thin">Height 7vh but 2vh padding</div>
  122. <div class="box c5-4 thin">Height 7vh but 2vh padding</div>
  123.  
  124. </div>
  125. <div class="wrapper_C5">
  126. <div class="box a5-1 thin">Height 7vh but 2vh padding</div>
  127. <div class="box a5-2 thin">Height 7vh but 2vh padding</div>
  128. <div class="box a5-3 thin">Height 7vh but 2vh padding</div>
  129. <div class="box a5-4 thin">Height 7vh but 2vh padding</div>
  130.  
  131. <div class="box b5-1 thin">Height 7vh but 2vh padding</div>
  132. <div class="box b5-2 thin">Height 7vh but 2vh padding</div>
  133. <div class="box b5-3 thin">Height 7vh but 2vh padding</div>
  134. <div class="box b5-4 thin">Height 7vh but 2vh padding</div>
  135.  
  136.  
  137. <div class="box c5-1 thin">Height 7vh but 2vh padding</div>
  138. <div class="box c5-2 thin">Height 7vh but 2vh padding</div>
  139. <div class="box c5-3 thin">Height 7vh but 2vh padding</div>
  140. <div class="box c5-4 thin">Height 7vh but 2vh padding</div>
  141.  
  142. </div>
  143. </body>
  144. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement