index.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. ---
  2. layout: examples
  3. title: Features
  4. extra_css:
  5. - "features.css"
  6. body_class: ""
  7. ---
  8. <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
  9. <symbol id="bootstrap" viewBox="0 0 118 94">
  10. <title>Bootstrap</title>
  11. <path fill-rule="evenodd" clip-rule="evenodd" d="M24.509 0c-6.733 0-11.715 5.893-11.492 12.284.214 6.14-.064 14.092-2.066 20.577C8.943 39.365 5.547 43.485 0 44.014v5.972c5.547.529 8.943 4.649 10.951 11.153 2.002 6.485 2.28 14.437 2.066 20.577C12.794 88.106 17.776 94 24.51 94H93.5c6.733 0 11.714-5.893 11.491-12.284-.214-6.14.064-14.092 2.066-20.577 2.009-6.504 5.396-10.624 10.943-11.153v-5.972c-5.547-.529-8.934-4.649-10.943-11.153-2.002-6.484-2.28-14.437-2.066-20.577C105.214 5.894 100.233 0 93.5 0H24.508zM80 57.863C80 66.663 73.436 72 62.543 72H44a2 2 0 01-2-2V24a2 2 0 012-2h18.437c9.083 0 15.044 4.92 15.044 12.474 0 5.302-4.01 10.049-9.119 10.88v.277C75.317 46.394 80 51.21 80 57.863zM60.521 28.34H49.948v14.934h8.905c6.884 0 10.68-2.772 10.68-7.727 0-4.643-3.264-7.207-9.012-7.207zM49.948 49.2v16.458H60.91c7.167 0 10.964-2.876 10.964-8.281 0-5.406-3.903-8.178-11.425-8.178H49.948z"></path>
  12. </symbol>
  13. <symbol id="home" viewBox="0 0 16 16">
  14. <path d="M8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4.5a.5.5 0 0 0 .5-.5v-4h2v4a.5.5 0 0 0 .5.5H14a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146zM2.5 14V7.707l5.5-5.5 5.5 5.5V14H10v-4a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v4H2.5z"/>
  15. </symbol>
  16. <symbol id="speedometer2" viewBox="0 0 16 16">
  17. <path d="M8 4a.5.5 0 0 1 .5.5V6a.5.5 0 0 1-1 0V4.5A.5.5 0 0 1 8 4zM3.732 5.732a.5.5 0 0 1 .707 0l.915.914a.5.5 0 1 1-.708.708l-.914-.915a.5.5 0 0 1 0-.707zM2 10a.5.5 0 0 1 .5-.5h1.586a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 10zm9.5 0a.5.5 0 0 1 .5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5zm.754-4.246a.389.389 0 0 0-.527-.02L7.547 9.31a.91.91 0 1 0 1.302 1.258l3.434-4.297a.389.389 0 0 0-.029-.518z"/>
  18. <path fill-rule="evenodd" d="M0 10a8 8 0 1 1 15.547 2.661c-.442 1.253-1.845 1.602-2.932 1.25C11.309 13.488 9.475 13 8 13c-1.474 0-3.31.488-4.615.911-1.087.352-2.49.003-2.932-1.25A7.988 7.988 0 0 1 0 10zm8-7a7 7 0 0 0-6.603 9.329c.203.575.923.876 1.68.63C4.397 12.533 6.358 12 8 12s3.604.532 4.923.96c.757.245 1.477-.056 1.68-.631A7 7 0 0 0 8 3z"/>
  19. </symbol>
  20. <symbol id="table" viewBox="0 0 16 16">
  21. <path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm15 2h-4v3h4V4zm0 4h-4v3h4V8zm0 4h-4v3h3a1 1 0 0 0 1-1v-2zm-5 3v-3H6v3h4zm-5 0v-3H1v2a1 1 0 0 0 1 1h3zm-4-4h4V8H1v3zm0-4h4V4H1v3zm5-3v3h4V4H6zm4 4H6v3h4V8z"/>
  22. </symbol>
  23. <symbol id="people-circle" viewBox="0 0 16 16">
  24. <path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/>
  25. <path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z"/>
  26. </symbol>
  27. <symbol id="grid" viewBox="0 0 16 16">
  28. <path d="M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5v-3zM2.5 2a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3zm6.5.5A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5v-3zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3zM1 10.5A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5v-3zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3zm6.5.5A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5v-3zm1.5-.5a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3z"/>
  29. </symbol>
  30. <symbol id="collection" viewBox="0 0 16 16">
  31. <path d="M2.5 3.5a.5.5 0 0 1 0-1h11a.5.5 0 0 1 0 1h-11zm2-2a.5.5 0 0 1 0-1h7a.5.5 0 0 1 0 1h-7zM0 13a1.5 1.5 0 0 0 1.5 1.5h13A1.5 1.5 0 0 0 16 13V6a1.5 1.5 0 0 0-1.5-1.5h-13A1.5 1.5 0 0 0 0 6v7zm1.5.5A.5.5 0 0 1 1 13V6a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-13z"/>
  32. </symbol>
  33. <symbol id="calendar3" viewBox="0 0 16 16">
  34. <path d="M14 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 3.857C1 3.384 1.448 3 2 3h12c.552 0 1 .384 1 .857v10.286c0 .473-.448.857-1 .857H2c-.552 0-1-.384-1-.857V3.857z"/>
  35. <path d="M6.5 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-9 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>
  36. </symbol>
  37. <symbol id="chat-quote-fill" viewBox="0 0 16 16">
  38. <path d="M16 8c0 3.866-3.582 7-8 7a9.06 9.06 0 0 1-2.347-.306c-.584.296-1.925.864-4.181 1.234-.2.032-.352-.176-.273-.362.354-.836.674-1.95.77-2.966C.744 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7zM7.194 6.766a1.688 1.688 0 0 0-.227-.272 1.467 1.467 0 0 0-.469-.324l-.008-.004A1.785 1.785 0 0 0 5.734 6C4.776 6 4 6.746 4 7.667c0 .92.776 1.666 1.734 1.666.343 0 .662-.095.931-.26-.137.389-.39.804-.81 1.22a.405.405 0 0 0 .011.59c.173.16.447.155.614-.01 1.334-1.329 1.37-2.758.941-3.706a2.461 2.461 0 0 0-.227-.4zM11 9.073c-.136.389-.39.804-.81 1.22a.405.405 0 0 0 .012.59c.172.16.446.155.613-.01 1.334-1.329 1.37-2.758.942-3.706a2.466 2.466 0 0 0-.228-.4 1.686 1.686 0 0 0-.227-.273 1.466 1.466 0 0 0-.469-.324l-.008-.004A1.785 1.785 0 0 0 10.07 6c-.957 0-1.734.746-1.734 1.667 0 .92.777 1.666 1.734 1.666.343 0 .662-.095.931-.26z"/>
  39. </symbol>
  40. <symbol id="cpu-fill" viewBox="0 0 16 16">
  41. <path d="M6.5 6a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5h-3z"/>
  42. <path d="M5.5.5a.5.5 0 0 0-1 0V2A2.5 2.5 0 0 0 2 4.5H.5a.5.5 0 0 0 0 1H2v1H.5a.5.5 0 0 0 0 1H2v1H.5a.5.5 0 0 0 0 1H2v1H.5a.5.5 0 0 0 0 1H2A2.5 2.5 0 0 0 4.5 14v1.5a.5.5 0 0 0 1 0V14h1v1.5a.5.5 0 0 0 1 0V14h1v1.5a.5.5 0 0 0 1 0V14h1v1.5a.5.5 0 0 0 1 0V14a2.5 2.5 0 0 0 2.5-2.5h1.5a.5.5 0 0 0 0-1H14v-1h1.5a.5.5 0 0 0 0-1H14v-1h1.5a.5.5 0 0 0 0-1H14v-1h1.5a.5.5 0 0 0 0-1H14A2.5 2.5 0 0 0 11.5 2V.5a.5.5 0 0 0-1 0V2h-1V.5a.5.5 0 0 0-1 0V2h-1V.5a.5.5 0 0 0-1 0V2h-1V.5zm1 4.5h3A1.5 1.5 0 0 1 11 6.5v3A1.5 1.5 0 0 1 9.5 11h-3A1.5 1.5 0 0 1 5 9.5v-3A1.5 1.5 0 0 1 6.5 5z"/>
  43. </symbol>
  44. <symbol id="gear-fill" viewBox="0 0 16 16">
  45. <path d="M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z"/>
  46. </symbol>
  47. <symbol id="speedometer" viewBox="0 0 16 16">
  48. <path d="M8 2a.5.5 0 0 1 .5.5V4a.5.5 0 0 1-1 0V2.5A.5.5 0 0 1 8 2zM3.732 3.732a.5.5 0 0 1 .707 0l.915.914a.5.5 0 1 1-.708.708l-.914-.915a.5.5 0 0 1 0-.707zM2 8a.5.5 0 0 1 .5-.5h1.586a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 8zm9.5 0a.5.5 0 0 1 .5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5zm.754-4.246a.389.389 0 0 0-.527-.02L7.547 7.31A.91.91 0 1 0 8.85 8.569l3.434-4.297a.389.389 0 0 0-.029-.518z"/>
  49. <path fill-rule="evenodd" d="M6.664 15.889A8 8 0 1 1 9.336.11a8 8 0 0 1-2.672 15.78zm-4.665-4.283A11.945 11.945 0 0 1 8 10c2.186 0 4.236.585 6.001 1.606a7 7 0 1 0-12.002 0z"/>
  50. </symbol>
  51. <symbol id="toggles2" viewBox="0 0 16 16">
  52. <path d="M9.465 10H12a2 2 0 1 1 0 4H9.465c.34-.588.535-1.271.535-2 0-.729-.195-1.412-.535-2z"/>
  53. <path d="M6 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 1a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm.535-10a3.975 3.975 0 0 1-.409-1H4a1 1 0 0 1 0-2h2.126c.091-.355.23-.69.41-1H4a2 2 0 1 0 0 4h2.535z"/>
  54. <path d="M14 4a4 4 0 1 1-8 0 4 4 0 0 1 8 0z"/>
  55. </symbol>
  56. <symbol id="tools" viewBox="0 0 16 16">
  57. <path d="M1 0L0 1l2.2 3.081a1 1 0 0 0 .815.419h.07a1 1 0 0 1 .708.293l2.675 2.675-2.617 2.654A3.003 3.003 0 0 0 0 13a3 3 0 1 0 5.878-.851l2.654-2.617.968.968-.305.914a1 1 0 0 0 .242 1.023l3.356 3.356a1 1 0 0 0 1.414 0l1.586-1.586a1 1 0 0 0 0-1.414l-3.356-3.356a1 1 0 0 0-1.023-.242L10.5 9.5l-.96-.96 2.68-2.643A3.005 3.005 0 0 0 16 3c0-.269-.035-.53-.102-.777l-2.14 2.141L12 4l-.364-1.757L13.777.102a3 3 0 0 0-3.675 3.68L7.462 6.46 4.793 3.793a1 1 0 0 1-.293-.707v-.071a1 1 0 0 0-.419-.814L1 0zm9.646 10.646a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708zM3 11l.471.242.529.026.287.445.445.287.026.529L5 13l-.242.471-.026.529-.445.287-.287.445-.529.026L3 15l-.471-.242L2 14.732l-.287-.445L1.268 14l-.026-.529L1 13l.242-.471.026-.529.445-.287.287-.445.529-.026L3 11z"/>
  58. </symbol>
  59. <symbol id="chevron-right" viewBox="0 0 16 16">
  60. <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>
  61. </symbol>
  62. <symbol id="geo-fill" viewBox="0 0 16 16">
  63. <path fill-rule="evenodd" d="M4 4a4 4 0 1 1 4.5 3.969V13.5a.5.5 0 0 1-1 0V7.97A4 4 0 0 1 4 3.999zm2.493 8.574a.5.5 0 0 1-.411.575c-.712.118-1.28.295-1.655.493a1.319 1.319 0 0 0-.37.265.301.301 0 0 0-.057.09V14l.002.008a.147.147 0 0 0 .016.033.617.617 0 0 0 .145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 0 0 .146-.15.148.148 0 0 0 .015-.033L12 14v-.004a.301.301 0 0 0-.057-.09 1.318 1.318 0 0 0-.37-.264c-.376-.198-.943-.375-1.655-.493a.5.5 0 1 1 .164-.986c.77.127 1.452.328 1.957.594C12.5 13 13 13.4 13 14c0 .426-.26.752-.544.977-.29.228-.68.413-1.116.558-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465-.436-.145-.826-.33-1.116-.558C3.26 14.752 3 14.426 3 14c0-.599.5-1 .961-1.243.505-.266 1.187-.467 1.957-.594a.5.5 0 0 1 .575.411z"/>
  64. </symbol>
  65. </svg>
  66. <main>
  67. <h1 class="visually-hidden">Features examples</h1>
  68. <div class="container px-4 py-5" id="featured-3">
  69. <h2 class="pb-2 border-bottom">Columns with icons</h2>
  70. <div class="row g-4 py-5 row-cols-1 row-cols-lg-3">
  71. <div class="feature col">
  72. <div class="feature-icon bg-primary bg-gradient">
  73. <svg class="bi" width="1em" height="1em"><use xlink:href="#collection"/></svg>
  74. </div>
  75. <h2>Featured title</h2>
  76. <p>Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.</p>
  77. <a href="#" class="icon-link">
  78. Call to action
  79. <svg class="bi" width="1em" height="1em"><use xlink:href="#chevron-right"/></svg>
  80. </a>
  81. </div>
  82. <div class="feature col">
  83. <div class="feature-icon bg-primary bg-gradient">
  84. <svg class="bi" width="1em" height="1em"><use xlink:href="#people-circle"/></svg>
  85. </div>
  86. <h2>Featured title</h2>
  87. <p>Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.</p>
  88. <a href="#" class="icon-link">
  89. Call to action
  90. <svg class="bi" width="1em" height="1em"><use xlink:href="#chevron-right"/></svg>
  91. </a>
  92. </div>
  93. <div class="feature col">
  94. <div class="feature-icon bg-primary bg-gradient">
  95. <svg class="bi" width="1em" height="1em"><use xlink:href="#toggles2"/></svg>
  96. </div>
  97. <h2>Featured title</h2>
  98. <p>Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.</p>
  99. <a href="#" class="icon-link">
  100. Call to action
  101. <svg class="bi" width="1em" height="1em"><use xlink:href="#chevron-right"/></svg>
  102. </a>
  103. </div>
  104. </div>
  105. </div>
  106. <div class="b-example-divider"></div>
  107. <div class="container px-4 py-5" id="hanging-icons">
  108. <h2 class="pb-2 border-bottom">Hanging icons</h2>
  109. <div class="row g-4 py-5 row-cols-1 row-cols-lg-3">
  110. <div class="col d-flex align-items-start">
  111. <div class="icon-square bg-light text-dark flex-shrink-0 me-3">
  112. <svg class="bi" width="1em" height="1em"><use xlink:href="#toggles2"/></svg>
  113. </div>
  114. <div>
  115. <h2>Featured title</h2>
  116. <p>Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.</p>
  117. <a href="#" class="btn btn-primary">
  118. Primary button
  119. </a>
  120. </div>
  121. </div>
  122. <div class="col d-flex align-items-start">
  123. <div class="icon-square bg-light text-dark flex-shrink-0 me-3">
  124. <svg class="bi" width="1em" height="1em"><use xlink:href="#cpu-fill"/></svg>
  125. </div>
  126. <div>
  127. <h2>Featured title</h2>
  128. <p>Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.</p>
  129. <a href="#" class="btn btn-primary">
  130. Primary button
  131. </a>
  132. </div>
  133. </div>
  134. <div class="col d-flex align-items-start">
  135. <div class="icon-square bg-light text-dark flex-shrink-0 me-3">
  136. <svg class="bi" width="1em" height="1em"><use xlink:href="#tools"/></svg>
  137. </div>
  138. <div>
  139. <h2>Featured title</h2>
  140. <p>Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.</p>
  141. <a href="#" class="btn btn-primary">
  142. Primary button
  143. </a>
  144. </div>
  145. </div>
  146. </div>
  147. </div>
  148. <div class="b-example-divider"></div>
  149. <div class="container px-4 py-5" id="custom-cards">
  150. <h2 class="pb-2 border-bottom">Custom cards</h2>
  151. <div class="row row-cols-1 row-cols-lg-3 align-items-stretch g-4 py-5">
  152. <div class="col">
  153. <div class="card card-cover h-100 overflow-hidden text-white bg-dark rounded-5 shadow-lg" style="background-image: url('unsplash-photo-1.jpg');">
  154. <div class="d-flex flex-column h-100 p-5 pb-3 text-white text-shadow-1">
  155. <h2 class="pt-5 mt-5 mb-4 display-6 lh-1 fw-bold">Short title, long jacket</h2>
  156. <ul class="d-flex list-unstyled mt-auto">
  157. <li class="me-auto">
  158. <img src="https://github.com/twbs.png" alt="Bootstrap" width="32" height="32" class="rounded-circle border border-white">
  159. </li>
  160. <li class="d-flex align-items-center me-3">
  161. <svg class="bi me-2" width="1em" height="1em"><use xlink:href="#geo-fill"/></svg>
  162. <small>Earth</small>
  163. </li>
  164. <li class="d-flex align-items-center">
  165. <svg class="bi me-2" width="1em" height="1em"><use xlink:href="#calendar3"/></svg>
  166. <small>3d</small>
  167. </li>
  168. </ul>
  169. </div>
  170. </div>
  171. </div>
  172. <div class="col">
  173. <div class="card card-cover h-100 overflow-hidden text-white bg-dark rounded-5 shadow-lg" style="background-image: url('unsplash-photo-2.jpg');">
  174. <div class="d-flex flex-column h-100 p-5 pb-3 text-white text-shadow-1">
  175. <h2 class="pt-5 mt-5 mb-4 display-6 lh-1 fw-bold">Much longer title that wraps to multiple lines</h2>
  176. <ul class="d-flex list-unstyled mt-auto">
  177. <li class="me-auto">
  178. <img src="https://github.com/twbs.png" alt="Bootstrap" width="32" height="32" class="rounded-circle border border-white">
  179. </li>
  180. <li class="d-flex align-items-center me-3">
  181. <svg class="bi me-2" width="1em" height="1em"><use xlink:href="#geo-fill"/></svg>
  182. <small>Pakistan</small>
  183. </li>
  184. <li class="d-flex align-items-center">
  185. <svg class="bi me-2" width="1em" height="1em"><use xlink:href="#calendar3"/></svg>
  186. <small>4d</small>
  187. </li>
  188. </ul>
  189. </div>
  190. </div>
  191. </div>
  192. <div class="col">
  193. <div class="card card-cover h-100 overflow-hidden text-white bg-dark rounded-5 shadow-lg" style="background-image: url('unsplash-photo-3.jpg');">
  194. <div class="d-flex flex-column h-100 p-5 pb-3 text-shadow-1">
  195. <h2 class="pt-5 mt-5 mb-4 display-6 lh-1 fw-bold">Another longer title belongs here</h2>
  196. <ul class="d-flex list-unstyled mt-auto">
  197. <li class="me-auto">
  198. <img src="https://github.com/twbs.png" alt="Bootstrap" width="32" height="32" class="rounded-circle border border-white">
  199. </li>
  200. <li class="d-flex align-items-center me-3">
  201. <svg class="bi me-2" width="1em" height="1em"><use xlink:href="#geo-fill"/></svg>
  202. <small>California</small>
  203. </li>
  204. <li class="d-flex align-items-center">
  205. <svg class="bi me-2" width="1em" height="1em"><use xlink:href="#calendar3"/></svg>
  206. <small>5d</small>
  207. </li>
  208. </ul>
  209. </div>
  210. </div>
  211. </div>
  212. </div>
  213. </div>
  214. <div class="b-example-divider"></div>
  215. <div class="container px-4 py-5" id="icon-grid">
  216. <h2 class="pb-2 border-bottom">Icon grid</h2>
  217. <div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4 g-4 py-5">
  218. <div class="col d-flex align-items-start">
  219. <svg class="bi text-muted flex-shrink-0 me-3" width="1.75em" height="1.75em"><use xlink:href="#bootstrap"/></svg>
  220. <div>
  221. <h4 class="fw-bold mb-0">Featured title</h4>
  222. <p>Paragraph of text beneath the heading to explain the heading.</p>
  223. </div>
  224. </div>
  225. <div class="col d-flex align-items-start">
  226. <svg class="bi text-muted flex-shrink-0 me-3" width="1.75em" height="1.75em"><use xlink:href="#cpu-fill"/></svg>
  227. <div>
  228. <h4 class="fw-bold mb-0">Featured title</h4>
  229. <p>Paragraph of text beneath the heading to explain the heading.</p>
  230. </div>
  231. </div>
  232. <div class="col d-flex align-items-start">
  233. <svg class="bi text-muted flex-shrink-0 me-3" width="1.75em" height="1.75em"><use xlink:href="#calendar3"/></svg>
  234. <div>
  235. <h4 class="fw-bold mb-0">Featured title</h4>
  236. <p>Paragraph of text beneath the heading to explain the heading.</p>
  237. </div>
  238. </div>
  239. <div class="col d-flex align-items-start">
  240. <svg class="bi text-muted flex-shrink-0 me-3" width="1.75em" height="1.75em"><use xlink:href="#home"/></svg>
  241. <div>
  242. <h4 class="fw-bold mb-0">Featured title</h4>
  243. <p>Paragraph of text beneath the heading to explain the heading.</p>
  244. </div>
  245. </div>
  246. <div class="col d-flex align-items-start">
  247. <svg class="bi text-muted flex-shrink-0 me-3" width="1.75em" height="1.75em"><use xlink:href="#speedometer2"/></svg>
  248. <div>
  249. <h4 class="fw-bold mb-0">Featured title</h4>
  250. <p>Paragraph of text beneath the heading to explain the heading.</p>
  251. </div>
  252. </div>
  253. <div class="col d-flex align-items-start">
  254. <svg class="bi text-muted flex-shrink-0 me-3" width="1.75em" height="1.75em"><use xlink:href="#toggles2"/></svg>
  255. <div>
  256. <h4 class="fw-bold mb-0">Featured title</h4>
  257. <p>Paragraph of text beneath the heading to explain the heading.</p>
  258. </div>
  259. </div>
  260. <div class="col d-flex align-items-start">
  261. <svg class="bi text-muted flex-shrink-0 me-3" width="1.75em" height="1.75em"><use xlink:href="#geo-fill"/></svg>
  262. <div>
  263. <h4 class="fw-bold mb-0">Featured title</h4>
  264. <p>Paragraph of text beneath the heading to explain the heading.</p>
  265. </div>
  266. </div>
  267. <div class="col d-flex align-items-start">
  268. <svg class="bi text-muted flex-shrink-0 me-3" width="1.75em" height="1.75em"><use xlink:href="#tools"/></svg>
  269. <div>
  270. <h4 class="fw-bold mb-0">Featured title</h4>
  271. <p>Paragraph of text beneath the heading to explain the heading.</p>
  272. </div>
  273. </div>
  274. </div>
  275. </div>
  276. </main>