Advertisement
Guest User

CSS

a guest
Jan 3rd, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. html, body {
  2. width: 100%;
  3. height: 100%;
  4.  
  5. background-color: white;
  6. }
  7.  
  8. #pack {
  9. position: absolute;
  10. top: 50%;
  11. left: 50%;
  12. height: 300px;
  13. width: 200px;
  14. margin-top: -100px;
  15. margin-left: -100px;
  16. }
  17.  
  18. #sparkle1 {
  19. position: absolute;
  20. top: -8%;
  21. left: 50%;
  22. height: 140px;
  23. width: 150px;
  24. }
  25.  
  26. #sparkle2 {
  27. position: absolute;
  28. top: 90%;
  29. left: 57%;
  30. height: 180px;
  31. width: 155px;
  32. }
  33.  
  34. #sparkle3 {
  35. position: absolute;
  36. top: 94%;
  37. left: 29%;
  38. height: 140px;
  39. width: 115px;
  40. }
  41.  
  42. #sparkle4 {
  43. position: absolute;
  44. top: 25%;
  45. left: 86%;
  46. height: 150px;
  47. width: 123px;
  48. }
  49.  
  50. #sparkle5 {
  51. position: absolute;
  52. top: 20%;
  53. right: 83%;
  54. height: 145px;
  55. width: 118px;
  56. }
  57.  
  58. #sparkle6 {
  59. position: absolute;
  60. top: 79%;
  61. right: 82%;
  62. height: 150px;
  63. width: 120px;
  64. }
  65.  
  66. #sparkle7 {
  67. position: absolute;
  68. top: 52%;
  69. right: 85%;
  70. height: 150px;
  71. width: 130px;
  72. }
  73.  
  74. #sparkle8 {
  75. position: absolute;
  76. top: 50%;
  77. left: 85%;
  78. height: 180px;
  79. width: 160px;
  80. }
  81.  
  82. #sparkles {
  83. position: absolute;
  84. top: 50%;
  85. left: 50%;
  86.  
  87. width: 500px;
  88. height: 500px;
  89. margin-top: -250px;
  90. margin-left: -250px;
  91. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement