mistletoe

◌ updates tab #1

Dec 28th, 2018 (edited)
2,300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. <!---
  2.  
  3. UPDATE TAB BY MISTLETOE
  4. =========================
  5.  
  6. notes:
  7. → if you want to change the font/size,
  8. change "font:11px poppins;" to your liking
  9. → icon background color: #fdf5e5
  10. → icon font being used is honeybee by suiomi
  11. ↪ http://honeybee.suiomi.com/
  12. → animate.css by daniel eden
  13.  
  14. --->
  15.  
  16. <link href="https://fonts.googleapis.com/css?family=Poppins:500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet"><link href="//solrainha.github.io/honeybee/honeybee.css" rel="stylesheet"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
  17.  
  18. <!-- if the code doesn't work, enable the following line of code by deleting this line and the -- > following the closing script tag
  19.  
  20. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> -->
  21.  
  22. <style type="text/css">
  23. #updates{position:fixed;z-index:1001;top:10px;left:20px}
  24. #updates a{text-decoration:none;color:#656565}
  25. #updates .updatet{display:block;width:15px;height:15px;padding:10px;line-height:15px;font-size:15px;background-color:#fdf5e5;border-radius:100%;margin-top:10px}
  26. #updates .updatet:hover{-webkit-animation:jello .8s linear}
  27. #updates .updateu{width:150px;padding:10px;padding-left:20px;border-left:1px dotted #cacaca;font:11px poppins;letter-spacing:1px;text-align:left;margin-top:10px;margin-left:17px;color:#5d5d5d}
  28. #updates b,#updates u{background-image:-webkit-gradient(linear,left bottom,left top,color-stop(50%,#fdf5e5),color-stop(50%,transparent));background-image:-webkit-linear-gradient(bottom,#fdf5e5 50%,transparent 50%);background-image:linear-gradient(0deg,#fdf5e5 50%,transparent 50%);text-decoration:none}
  29. #updates i{font-size:13px;color:#212121}
  30. </style>
  31.  
  32. <script type="text/javascript">$(document).ready(function () {
  33. $('.updateu').hide();
  34. $('.updatet').click(function () {
  35. // .parent() selects the A tag, .next() selects the P tag
  36. $(this).parent().next().slideToggle(400);
  37. });
  38. $('.text').slideUp(400);
  39. });</script>
  40.  
  41. <div id="updates"><a href="#"><div class="updatet">
  42. <!-- tab 1 icon -->
  43. <span class="th th-holly-o"></span>
  44.  
  45. </div></a><div class="updateu">
  46.  
  47. <!-- tab 1 content -->
  48. <b>tab 1</b> crookshanks <i>harry potter</i> prisoner of <u>azkaban</u> mirror of erised
  49. <!-- end tab 1 content -->
  50.  
  51. </div><a href="#"><div class="updatet">
  52. <!-- tab 2 icon -->
  53. <span class="th th-blossom-o"></span>
  54.  
  55. </div></a><div class="updateu">
  56.  
  57. <!-- tab 2 content -->
  58. <b>tab 2</b> content
  59. <!-- end tab 2 content -->
  60.  
  61. </div><a href="#"><div class="updatet">
  62. <!-- tab 3 icon -->
  63. <span class="th th-flower-o"></span>
  64.  
  65. </div></a><div class="updateu">
  66.  
  67. <!-- tab 3 content -->
  68. <b>tab 3</b> content
  69. <!-- end tab 3 content -->
  70.  
  71. </div><a href="#"><div class="updatet">
  72. <!-- tab 4 icon -->
  73. <span class="th th-mushroom-1-o"></span>
  74. </div></a><div class="updateu">
  75.  
  76. <!-- tab 4 content -->
  77. <b>tab 4</b> content
  78. <!-- end tab 4 content -->
  79.  
  80. </div>
  81. </div>
  82.  
  83. <!-- END UPDATES TAB -->
Advertisement
Add Comment
Please, Sign In to add comment