Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. <style id="jsbin-css">
  2. .paypalbox{
  3. position:relative;
  4. width:250px;
  5. height:auto;
  6. position:fixed;
  7. bottom:0;
  8. left:60px;
  9. }
  10. .tombolpaypal{
  11. text-align:center;
  12. text-decoration:none;
  13. width:240px;
  14. height:auto;
  15. background:#555;
  16. padding:5px 5px 15px;
  17. display:none;
  18. }
  19. .paypal{
  20. background:#efefef;
  21. border:0;
  22. margin:0 auto;
  23. padding:5px 18px;
  24. font-size:18px;
  25. font-weight:700;
  26. color:#333;
  27. text-align:center;
  28. display:inline-block;
  29. border-radius:3px;
  30. }
  31. .paypal:hover{
  32. background:#ddd;
  33. }
  34. .paypalheader{
  35. background:#222;
  36. border-radius:3px 3px 0 0;
  37. margin:0 auto;
  38. padding:8px 23px;
  39. font-size:18px;
  40. font-weight:700;
  41. color:#fff;
  42. text-align:center;
  43. display:block;
  44. cursor:pointer;
  45. }
  46. .tombolpaypal a{
  47. text-decoration:none;
  48. }
  49. .tombolpaypal p{
  50. color:#ddd;
  51. font-size:14px;
  52. margin:5px 0 10px;
  53. }
  54. </style>
  55. <div class="paypalbox">
  56. <span class="paypalheader">Donasi</span>
  57. <div class="tombolpaypal">
  58. <p>Secangkir kopi selalu menemani saya membuat tutorial. Donasi Anda bisa membantu saya menyediakannya.<br/>
  59. Terima kasih.</p>
  60. <a href="URL HALAMAN DONASI PAYPAL" title="Donasi via Paypal" target="_blank">
  61. <span class="paypal">Donasi via Paypal</span></a>
  62. </div>
  63. </div>
  64. <script id="jsbin-javascript">
  65. <script type='text/javascript'>
  66. jQuery(document).ready(function($) {
  67. $('.paypalheader').click(function() {
  68. $('.tombolpaypal').slideToggle(500);
  69. });
  70. });
  71. <\/script>
  72. </script>
  73.  
  74. <script id="jsbin-source-css" type="text/css">.paypalbox{
  75. position:relative;
  76. width:250px;
  77. height:auto;
  78. position:fixed;
  79. bottom:0;
  80. left:60px;
  81. }
  82. .tombolpaypal{
  83. text-align:center;
  84. text-decoration:none;
  85. width:240px;
  86. height:auto;
  87. background:#555;
  88. padding:5px 5px 15px;
  89. display:none;
  90. }
  91. .paypal{
  92. background:#efefef;
  93. border:0;
  94. margin:0 auto;
  95. padding:5px 18px;
  96. font-size:18px;
  97. font-weight:700;
  98. color:#333;
  99. text-align:center;
  100. display:inline-block;
  101. border-radius:3px;
  102. }
  103. .paypal:hover{
  104. background:#ddd;
  105. }
  106. .paypalheader{
  107. background:#222;
  108. border-radius:3px 3px 0 0;
  109. margin:0 auto;
  110. padding:8px 23px;
  111. font-size:18px;
  112. font-weight:700;
  113. color:#fff;
  114. text-align:center;
  115. display:block;
  116. cursor:pointer;
  117. }
  118. .tombolpaypal a{
  119. text-decoration:none;
  120. }
  121. .tombolpaypal p{
  122. color:#ddd;
  123. font-size:14px;
  124. margin:5px 0 10px;
  125. }</script>
  126.  
  127. <script id="jsbin-source-javascript" type="text/javascript"><script type='text/javascript'>
  128. jQuery(document).ready(function($) {
  129. $('.paypalheader').click(function() {
  130. $('.tombolpaypal').slideToggle(500);
  131. });
  132. });
  133. <\/script></script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement