calliearambulo

Popup Tutorial 02

May 3rd, 2020
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. /* POPUP BY PILLOW THEMES / CARA / PT / 2019 */
  2. /* The text to click to show the popup */
  3. .activator {
  4. color:{color:text};
  5. }
  6.  
  7. /* The background when you click on the text to show the popup */
  8. .overlay {
  9. position:fixed;
  10. top:0;
  11. bottom:0;
  12. left:0;
  13. right:0;
  14. background:rgba(0,0,0,0.6); /* 0.6 is the opacity */
  15. transition:opacity 0.5s;
  16. visibility:hidden;
  17. opacity:0;
  18. transition:all 0.5s ease-out;
  19. }
  20.  
  21. .overlay:target {
  22. visibility:visible;
  23. opacity:1;
  24. transition:all 0.5s ease-out;
  25. }
  26.  
  27. /* Popup box customizations */
  28. .popup {
  29. width:750px;
  30. height:350px;
  31. margin:150px auto 100px auto;
  32. background-image: linear-gradient(-20deg, #ddd6f3 0%, #faaca8 100%, #faaca8 100%);
  33. position:relative;
  34. transition:all 0.5s ease-in-out;
  35. padding:20px;
  36. }
  37.  
  38. /* Close the popup customizations */
  39. .popup .close {
  40. position:absolute;
  41. top:-10px;
  42. right:-60px;
  43. transition:all 0.5s ease-out;
  44. font-size:25px;
  45. color:#fff;
  46. text-align:center;
  47. }
  48.  
  49. /* DO NOT TOUCH MY CREDITS */
  50. #carapillowthemes {
  51. width:150px;
  52. margin-top:-80px;
  53. margin-left:320px;
  54. text-transform:uppercase;
  55. color:#000;
  56. text-align:center;
  57. }
  58.  
  59. #carapillowthemes a {
  60. color:#fff;
  61. /* DO NOT TOUCH MY CREDITS */
  62. }
  63.  
  64. #leftbox {
  65. width:375px;
  66. height:350px;
  67. float:left;
  68. background-color:#fff;
  69. }
  70.  
  71. #est {
  72. width:300px;
  73. margin-top:20px;
  74. margin-bottom:40px;
  75. margin-left:50px;
  76. font-family: 'Walkway';
  77. font-size:30px;
  78. text-decoration:underline #faaca8;
  79. text-align:left;
  80. }
  81.  
  82. #data {
  83. width:250px;
  84. height:170px;
  85. margin:-10px auto;
  86. padding:20px;
  87. border:1px solid #f6f6f6;
  88. overflow:scroll;
  89. overflow-x:hidden;
  90. }
  91.  
  92. #rightbox {
  93. width:375px;
  94. height:350px;
  95. float:right;
  96. background-color:#f6f6f6;
  97. }
  98.  
  99. #stamp {
  100. width:90px;
  101. height:90px;
  102. margin-top:50px;
  103. margin-left:50px;
  104. }
  105.  
  106. #stamp img {
  107. width:90px;
  108. height:90px;
  109. border-radius:50%;
  110. background-image: linear-gradient(-20deg, #ddd6f3 0%, #faaca8 100%, #faaca8 100%);
  111. padding:10px;
  112. }
  113.  
  114. #marker {
  115. width:100px;
  116. height:5px;
  117. background-color:#fff;
  118. position:absolute;
  119. margin-left:140px;
  120. margin-top:-30px;
  121. }
  122.  
  123. #marker1 {
  124. width:100px;
  125. height:5px;
  126. background-color:#fff;
  127. position:absolute;
  128. margin-left:140px;
  129. margin-top:-40px;
  130. }
  131.  
  132. #quote {
  133. width:280px;
  134. margin-top:40px;
  135. margin-left:50px;
  136. }
  137.  
  138. #love {
  139. width:280px;
  140. margin-top:10px;
  141. margin-left:50px;
  142. font-family: 'Walkway';
  143. font-size:30px;
  144. text-decoration:underline #faaca8;
  145. }
  146. /* POPUP BY PILLOW THEMES / CARA / PT / 2019 */
Advertisement
Add Comment
Please, Sign In to add comment