Lightweight CSS Framework for Building Apps and Websites https://crispy-css.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

132 lines
5.5 KiB

6 years ago
6 years ago
6 years ago
  1. <!doctype html>
  2. <html class="no-js" lang="en_EN">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="x-ua-compatible" content="ie=edge">
  6. <title></title>
  7. <meta name="description" content="">
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <link rel="stylesheet" href="../dest/css/crispy.css">
  10. <style>
  11. .container {
  12. max-width: 992px;
  13. width: 100%;
  14. margin: 0 auto;
  15. }
  16. .panel {
  17. padding: 10px;
  18. background-color: #efefef;
  19. border: 1px dotted #cecece;
  20. }
  21. </style>
  22. </head>
  23. <body>
  24. <header class="header">
  25. <div class="container">
  26. <div class="grid">
  27. <div class="col-12">
  28. <h1 class="text-center">Crispy Boilerplate - pure CSS</h1>
  29. </div>
  30. </div>
  31. </div>
  32. </header>
  33. <div class="container">
  34. <div class="grid">
  35. <div class="col-2">
  36. <nav>
  37. <a href="#heading">Heading</a>
  38. </nav>
  39. </div>
  40. <div class="col-10">
  41. <p>
  42. A few Years a have always created Styles to use in other Frameworks, crispy boilerplate is a
  43. a small toolkit from this helpers, styles that can be used to create. This is not beatiful or fancy
  44. it is a simple and basic toolkit to get a default style.
  45. </p>
  46. <p>
  47. For me it was important to use no js, not that i hate js, no, the Problem of bigger Frameworks was
  48. but for the most webapps, it was always diffult to build a few things and not getting a conflict. So i desided
  49. it is simpler to get a good stable basis and build smaller parts
  50. </p>
  51. <p>
  52. So this is a smaller approch, most projects i have then that
  53. big Frameworks were used, but i often felt that there
  54. was a Problem, often the fight against the framework, that
  55. result often in bigger and longer code.
  56. This is also a try to code get a smaller base to create more effecit
  57. No, it is a try, i can not promise you it will be done,
  58. </p>
  59. <h2 id="typography">Typography</h2>
  60. <div class="panel">
  61. <h1>Heading h1</h1>
  62. <h2>Heading h1</h2>
  63. <h3>Heading h1</h3>
  64. <h4>Heading h1</h4>
  65. <h5>Heading h1</h5>
  66. <h6>Heading h1</h6>
  67. </div>
  68. <p>
  69. <code class="code">&lt;h2&gt;&lt;/h2&gt;
  70. &lt;h2 class="h3"&gt;&lt;/h2&gt;</code>
  71. </p>
  72. <div class="panel">
  73. <strong>Strong</strong> <span class="background-warning">&lt;strong&gt;</span>
  74. <code></code>
  75. <blockquote>
  76. Hoodie kickstarter four loko, pinterest hashtag chambray glossier. Pug before they sold out etsy listicle. Deep v bespoke tacos polaroid, squid flexitarian crucifix messenger bag.
  77. </blockquote>
  78. </div>
  79. <div class="panel">
  80. <ul>
  81. <li>item 1</li>
  82. <li>item 2</li>
  83. </ul>
  84. <ol>
  85. <li>item 1</li>
  86. <li>item 2</li>
  87. </ol>
  88. <dl>
  89. <dt>defined title 1</dt><dd>defined item 1</dd>
  90. </dl>
  91. </div>
  92. <h2 id="buttons" class="margin-top-1x">Buttons</h2>
  93. <div class="panel">
  94. <button class="button">Button</button>
  95. <button class="button button--danger">Button</button>
  96. </div>
  97. <h2 id="table" class="margin-top-1x">Table</h2>
  98. <div class="panel">
  99. <table class="table table--striped">
  100. <thead>
  101. <tr>
  102. <th>name</th>
  103. <th>age</th>
  104. </tr>
  105. </thead>
  106. <tbody>
  107. <tr>
  108. <td>The Shawshank Redemption</td>
  109. <td>12</td>
  110. </tr>
  111. <tr>
  112. <td>The Shawshank Redemption</td>
  113. <td>12</td>
  114. </tr>
  115. <tr>
  116. <td>The Shawshank Redemption</td>
  117. <td>12</td>
  118. </tr>
  119. </tbody>
  120. </table>
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. </body>
  126. </html>