helpers.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. ---
  2. layout: documentation
  3. doc-tab: modifiers
  4. doc-subtab: helpers
  5. ---
  6. {% include subnav-modifiers.html %}
  7. <section class="section">
  8. <div class="container">
  9. <h1 class="title">Helpers</h1>
  10. <h2 class="subtitle">You can apply <strong>responsive helper classes</strong> to almost any element, in order to alter its style based upon the browser's width.</h2>
  11. <hr>
  12. <table class="table is-bordered">
  13. <tbody>
  14. <tr>
  15. <th rowspan="3">Float</th>
  16. <td><code>is-clearfix</code></td>
  17. <td>Fixes an element's floating children</td>
  18. </tr>
  19. <tr>
  20. <td><code>is-pulled-left</code></td>
  21. <td>Moves an element to the left</td>
  22. </tr>
  23. <tr>
  24. <td><code>is-pulled-right</code></td>
  25. <td>Moves an element to the right</td>
  26. </tr>
  27. <tr>
  28. <th>Overlay</th>
  29. <td><code>is-overlay</code></td>
  30. <td>Completely covers the first positioned parent</td>
  31. </tr>
  32. <tr>
  33. <th>Size</th>
  34. <td><code>is-fullwidth</code></td>
  35. <td>Takes up the whole width (100%)</td>
  36. </tr>
  37. <tr>
  38. <th rowspan="3">Text</th>
  39. <td><code>has-text-centered</code></td>
  40. <td>Centers the text</td>
  41. </tr>
  42. <tr>
  43. <td><code>has-text-left</code></td>
  44. <td>Text is left-aligned</td>
  45. </tr>
  46. <tr>
  47. <td><code>has-text-right</code></td>
  48. <td>Text is right-aligned</td>
  49. </tr>
  50. <tr>
  51. <th rowspan="4">Other</th>
  52. <td><code>is-marginless</code></td>
  53. <td>Removes any <strong>margin</strong></td>
  54. </tr>
  55. <tr>
  56. <td><code>is-paddingless</code></td>
  57. <td>Removes any <strong>padding</strong></td>
  58. </tr>
  59. <tr>
  60. <td><code>is-unselectable</code></td>
  61. <td>Prevents the text from being <strong>selectable</strong></td>
  62. </tr>
  63. <tr>
  64. <td><code>is-hidden</code></td>
  65. <td>Hides element</td>
  66. </tr>
  67. </tbody>
  68. </table>
  69. </div>
  70. </section>