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.

110 lines
4.1 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. Crispy Boilerplate - pure CSS
  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. <h1></h1>
  42. <h2 id="typography">Typography</h2>
  43. <div class="panel">
  44. <h1>Heading h1</h1>
  45. <h2>Heading h1</h2>
  46. <h3>Heading h1</h3>
  47. <h4>Heading h1</h4>
  48. <h5>Heading h1</h5>
  49. <h6>Heading h1</h6>
  50. </div>
  51. <div class="panel">
  52. <strong>Strong</strong> <span class="background-warning">&lt;strong&gt;</span>
  53. <code></code>
  54. <blockquote>
  55. 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.
  56. </blockquote>
  57. </div>
  58. <div class="panel">
  59. <ul>
  60. <li>item 1</li>
  61. <li>item 2</li>
  62. </ul>
  63. <ol>
  64. <li>item 1</li>
  65. <li>item 2</li>
  66. </ol>
  67. <dl>
  68. <dt>defined title 1</dt><dd>defined item 1</dd>
  69. </dl>
  70. </div>
  71. <h2 id="buttons" class="margin-top-1x">Buttons</h2>
  72. <div class="panel">
  73. <button class="button">Button</button>
  74. <button class="button button--danger">Button</button>
  75. </div>
  76. <h2 id="table" class="margin-top-1x">Table</h2>
  77. <div class="panel">
  78. <table class="table table--striped">
  79. <thead>
  80. <tr>
  81. <th>name</th>
  82. <th>age</th>
  83. </tr>
  84. </thead>
  85. <tbody>
  86. <tr>
  87. <td>The Shawshank Redemption</td>
  88. <td>12</td>
  89. </tr>
  90. <tr>
  91. <td>The Shawshank Redemption</td>
  92. <td>12</td>
  93. </tr>
  94. <tr>
  95. <td>The Shawshank Redemption</td>
  96. <td>12</td>
  97. </tr>
  98. </tbody>
  99. </table>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. </body>
  105. </html>