Advertisement
LivvyAh

MODULAR: Relationships 1.0-Codeo

Mar 1st, 2022
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. <!-- RELATIONSHIP V1 START
  2. Add in new relationships in pairs, it looks better.-->
  3. <div class="row">
  4. <div class="col-12 mb-3">
  5. <div class="card p-2">
  6. <div class="text-uppercase text-primary" style="letter-spacing:3px; font-size:25px;">
  7. <i class="fa-duotone fa-user-group"></i> RELATIONSHIPS
  8. </div>
  9. <hr class="bg-secondary w-100">
  10. <!-- TO ADD ANOTHER PAIR COPY FROM HERE -->
  11. <div class="row">
  12. <!-- RELATIONSHIP ONE START -->
  13. <div class="col-lg-4 col-xs-9 col-md-4 col-9">
  14. <div class="p-2">
  15. <a class="text-primary text-uppercase" style="letter-spacing:3px; font-size:20px;" href="URL HERE">Name
  16. </a>
  17. <p>Don't talk too much! These pictures stretch to match the amount of text you put in!
  18. </p>
  19. </div>
  20. </div>
  21. <!-- RELATIONSHIP IMAGE START
  22. If you want sharp corners then just delete "rounded" from the 2nd class-->
  23. <div class="col-2">
  24. <div class="h-100 rounded" style="background: url(IMG HERE);
  25. background-size: cover;
  26. background-position: center;">
  27. </div>
  28. </div>
  29. <!-- RELATIONSHIP IMAGE END -->
  30. <!-- RELATIONSHIP ONE END -->
  31. <!-- RELATIONSHIP TWO START -->
  32. <!-- RELATIONSHIP IMAGE START
  33. If you want sharp corners then just delete "rounded" from the 2nd class -->
  34. <div class="col-2">
  35. <div class="h-100 rounded" style="min-height:50px; background: url(IMG HERE);
  36. background-size: cover;
  37. background-position: center;">
  38. </div>
  39. </div>
  40. <!-- RELATIONSHIP IMAGE END -->
  41. <div class="col-lg-4 col-xs-9 col-md-4 col-9">
  42. <div class="p-2">
  43. <a class="text-primary text-uppercase" style="letter-spacing:3px; font-size:20px;" href="URL HERE">Name
  44. </a>
  45. <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at tellus sodales, sodales libero quis, maximus tellus. Ut sed pulvinar nisi. Phasellus eu massa leo. Praesent metus erat, hendrerit accumsan sagittis et, auctor id enim. Cras eget magna vestibulum, varius tellus euismod, semper metus. Suspendisse potenti.
  46. </p>
  47. </div>
  48. </div>
  49. <!-- RELATIONSHIP TWO END -->
  50. </div>
  51. <!-- TO HERE, THEN PASTE RIGHT AFTER. -->
  52.  
  53. </div>
  54. </div>
  55. </div>
  56.  
  57. <!-- RELATIONSHIP V1 END -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement