Advertisement
Guest User

Html5

a guest
Jan 24th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. <head>
  2. <style>
  3. #div1 {
  4. background-color:white;
  5. width:150px;
  6. height: 150px;
  7. border: 20px solid blue;
  8. border-radius: 8%;
  9. opacity: 0.7;
  10. transform: rotate(45deg);
  11. position:absolute;
  12. top: -50;
  13. left: -50;
  14. text-align: right;
  15. font-size: 25px;
  16. font-weight: bold;
  17. }
  18. #div2 {
  19. background-color:white;
  20. width:150px;
  21. height: 150px;
  22. border: 20px solid red;
  23. border-radius: 8%;
  24. opacity: 0.6;
  25. transform: rotate(45deg);
  26. position: absolute;
  27. top: 75;
  28. left: 0;
  29. text-align: right;
  30. font-size: 25px;
  31. font-weight: bold;
  32. }
  33. #div3 {
  34. background-color: white;
  35. width: 100px;
  36. height: 100px;
  37. border: 20px solid purple;
  38. border-radius: 8%;
  39. opacity: 0.5;
  40. transform: rotate(0deg);
  41. position: absolute;
  42. top: -75;
  43. left: 100;
  44. text-align: left;
  45. font-size: 25px;
  46. font-weight: bold;
  47. }
  48. #div4 {
  49. background-color: white;
  50. width: 100px;
  51. height: 100px;
  52. border: 20px solid green;
  53. border-radius: 50%;
  54. opacity: 0.4;
  55. transform: rotate(45deg);
  56. position: absolute;
  57. top: 120;
  58. left: 250;
  59. text-align: left;
  60. font-size: 25px;
  61. font-weight: bold;
  62. }
  63. #div5 {
  64. background-color: white;
  65. width: 50px;
  66. height: 50px;
  67. border-top: 15px solid blue;
  68. border-left: 15px solid white;
  69. border-right: 15px solid blue;
  70. border-bottom: 15px solid white;
  71. border-radius: 8%;
  72. opacity: 0.3;
  73. transform: rotate(45deg);
  74. position: absolute;
  75. top: 150;
  76. left: 375;
  77. text-align: left;
  78. font-size: 25px;
  79. font-weight: bold;
  80. }
  81. </style>
  82. </head>
  83. <body>
  84. <div id="div1">Div1</div>
  85. <div id="div2">HTML CSS praktijktoets Frank Hummel</h3>
  86. <div id="div3">Div3</div>
  87. </div>
  88. <div id="div4">Div4</div>
  89. <div id="div5">Div5</div>
  90. </body>
  91. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement