LivvyAh

MODULAR: Artsy Tabs 1.0

May 12th, 2022 (edited)
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. <!-- ARTSY TABS START
  2. Oh god this is so fragile, really don't use this if you can't navigate a code with some level of competence.
  3. PLEASE pay attention to these header notes as you move around.
  4. This module ALWAYS looks broken in code editors, check how it looks on your actual profile before you give up on it!
  5.  
  6. For the most seamless look, use the same background settings for the tab and the modules. (So same image and size/position/attachment)
  7.  
  8. You can technically put Any of the modules in here but some will look better than others. You can also put more than one! Probably don't put another tabs in though? I haven't tried but I think that would not work lol.
  9.  
  10. Just be mindful yknow.
  11. -->
  12. <div class="container-fluid px-0" style="max-width: 750px; letter-spacing: .45px;">
  13. <div class="row">
  14. <div class="col-12 p-2">
  15. <!--HEADER IMAGE -->
  16. <ul class="nav bg-dark" style="background: url(IMG HERE);
  17. background-size: cover;
  18. background-position: center;
  19. background-attachment: fixed;">
  20. <!--NAV TABS START
  21. Please for the love of god don't add new tabs, it will break things and will make mobile users cry really hard.
  22. Just change the titles.
  23. If you want more things to be in tabs, just add another Tab module. Maybe put a few Images Modules inbetween. It'll be better that way.
  24. Again, don't add more tabs, you're just gonna break it. -->
  25. <li class="nav-item">
  26. <a class="nav-link active text-uppercase text-light bg-dark" data-toggle="tab" style="letter-spacing:3px;" href="#TAB1">
  27. TITLE 1
  28. </a>
  29. </li>
  30. <li class="nav-item">
  31. <a class="nav-link text-uppercase text-light bg-dark" data-toggle="tab" style="letter-spacing:3px;" href="#TAB2">
  32. TITLE 2
  33. </a>
  34. </li>
  35. <li class="nav-item">
  36. <a class="nav-link text-uppercase text-light bg-dark" data-toggle="tab" style="letter-spacing:3px;" href="#TAB3">
  37. TITLE 3
  38. </a>
  39. </li>
  40. <!--NAV TABS END -->
  41. <div class="tab-content p-2" style="background: url(IMG HERE);
  42. background-size: cover;
  43. background-position: center;
  44. background-attachment: fixed;">
  45. <!--TAB1 START
  46. This is the tab that's open on default, jsyk-->
  47. <div id="TAB1" class="tab-pane fade active show">
  48. <!--PASTE ENTIRE MODULE HERE, DON'T CUT ANYTHING!!!!-->
  49.  
  50. </div>
  51. <!--TAB1 END-->
  52. <!--TAB2 START-->
  53. <div id="TAB2" class="tab-pane fade">
  54. <!--PASTE ENTIRE MODULE HERE, DON'T CUT ANYTHING!!!!-->
  55.  
  56. </div>
  57. <!--TAB2 END-->
  58. <!--TAB3 START-->
  59. <div id="TAB3" class="tab-pane fade">
  60. <!--PASTE ENTIRE MODULE HERE, DON'T CUT ANYTHING!!!!-->
  61.  
  62. </div>
  63. <!--TAB3 END-->
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. <!--ARTSY TABS END -->
Add Comment
Please, Sign In to add comment