Advertisement
LivvyAh

MODULAR: Tabs 1.0

Apr 7th, 2020 (edited)
873
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. <!-- 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. You can technically put Any of the modules in here but image modules will have some box stuff around them, especially the Ref Image module. You can also put multiple modules in the same tab. Probably don't put another tabs in though? I haven't tried but I think that would not work lol.
  7.  
  8. Just be mindful yknow.
  9. -->
  10. <div class="container-fluid px-0" style="max-width: 750px; letter-spacing: .45px;">
  11. <div class="row">
  12. <div class="col-12 p-2">
  13. <!--HEADER IMAGE -->
  14. <ul class="nav bg-dark" style="background: url(IMG HERE);
  15. background-size: cover;
  16. background-position: center;
  17. background-attachment: fixed;">
  18. <!--NAV TABS START
  19. Please for the love of god don't add new tabs, it will break things and will make mobile users cry really hard.
  20. Just change the titles.
  21. 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.
  22. Again, don't add more tabs, you're just gonna break it. -->
  23. <li class="nav-item">
  24. <a class="nav-link active text-uppercase text-light bg-dark" data-toggle="tab" style="letter-spacing:3px;" href="#TAB1">
  25. TITLE 1
  26. </a>
  27. </li>
  28. <li class="nav-item">
  29. <a class="nav-link text-uppercase text-light bg-dark" data-toggle="tab" style="letter-spacing:3px;" href="#TAB2">
  30. TITLE 2
  31. </a>
  32. </li>
  33. <li class="nav-item">
  34. <a class="nav-link text-uppercase text-light bg-dark" data-toggle="tab" style="letter-spacing:3px;" href="#TAB3">
  35. TITLE 3
  36. </a>
  37. </li>
  38. <!--NAV TABS END -->
  39. <div class="tab-content bg-dark p-2">
  40. <!--TAB1 START
  41. This is the tab that's open on default, jsyk-->
  42. <div id="TAB1" class="tab-pane fade active show bg-dark">
  43. <!--PASTE ENTIRE MODULE HERE, DON'T CUT ANYTHING!!!!-->
  44. </div>
  45. <!--TAB1 END-->
  46. <!--TAB2 START-->
  47. <div id="TAB2" class="tab-pane fade bg-dark">
  48. <!--PASTE ENTIRE MODULE HERE, DON'T CUT ANYTHING!!!!-->
  49. </div>
  50. <!--TAB2 END-->
  51. <!--TAB3 START-->
  52. <div id="TAB3" class="tab-pane fade bg-dark">
  53. <!--PASTE ENTIRE MODULE HERE, DON'T CUT ANYTHING!!!!-->
  54. </div>
  55. <!--TAB3 END-->
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. <!--TABS END -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement