LivvyAh

MODULAR: Tabs 1.0-Cardo

Mar 1st, 2022 (edited)
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 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.  
  11. <div class="row">
  12. <div class="col-12 mb-3">
  13. <div class="card" style="background: url(IMG HERE);
  14. background-size: cover;
  15. background-position: center;
  16. background-attachment: fixed;">
  17. <!--HEADER IMAGE -->
  18. <ul class="nav">
  19. <!--NAV TABS START
  20. Please for the love of god don't add new tabs, it will break things and will make mobile users cry really hard.
  21. Just change the titles.
  22. 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.
  23. Again, don't add more tabs, you're just gonna break it. -->
  24. <li class="card nav-item">
  25. <a class="nav-link active text-uppercase" data-toggle="tab" style="letter-spacing:3px;" href="#TAB1">
  26. TITLE 1
  27. </a>
  28. </li>
  29. <li class="card nav-item">
  30. <a class="nav-link text-uppercase" data-toggle="tab" style="letter-spacing:3px;" href="#TAB2">
  31. TITLE 2
  32. </a>
  33. </li>
  34. <li class="card nav-item">
  35. <a class="nav-link text-uppercase" data-toggle="tab" style="letter-spacing:3px;" href="#TAB3">
  36. TITLE 3
  37. </a>
  38. </li>
  39. <!--NAV TABS END -->
  40. <div class="tab-content" style="background: url(IMG HERE);
  41. background-size: cover;
  42. background-position: center;
  43. background-attachment: fixed;">
  44. <!--TAB1 START
  45. This is the tab that's open on default, jsyk-->
  46. <div id="TAB1" class="tab-pane fade active show">
  47. <!--PASTE ENTIRE MODULE HERE, DON'T CUT ANYTHING!!!!-->
  48.  
  49. </div>
  50. <!--TAB1 END-->
  51. <!--TAB2 START-->
  52. <div id="TAB2" class="tab-pane fade">
  53. <!--PASTE ENTIRE MODULE HERE, DON'T CUT ANYTHING!!!!-->
  54.  
  55.  
  56.  
  57. </div>
  58. <!--TAB2 END-->
  59. <!--TAB3 START-->
  60. <div id="TAB3" class="tab-pane fade">
  61. <!--PASTE ENTIRE MODULE HERE, DON'T CUT ANYTHING!!!!-->
  62.  
  63. </div>
  64. <!--TAB3 END-->
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. <!--TABS END -->
Add Comment
Please, Sign In to add comment