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.

625 lines
20 KiB

6 years ago
6 years ago
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="/css/styles.min.css">
  10. <style>
  11. .container {
  12. max-width: 992px;
  13. width: 100%;
  14. margin: 0 auto;
  15. }
  16. .header {
  17. padding: 8px 0 0;
  18. background-color: #e9e9e9;
  19. border-bottom: 1px dotted #959595;
  20. margin: 0 0 50px;
  21. }
  22. .header__logo {
  23. width: 45px;
  24. }
  25. .footer {
  26. padding: 8px 0 0;
  27. background-color: #e9e9e9;
  28. border-top: 1px dotted #959595;
  29. margin: 50px 0 0 0;
  30. }
  31. </style>
  32. </head>
  33. <body>
  34. <header id="header" class="header">
  35. <div class="container">
  36. <div class="grid">
  37. <div class="col-12">
  38. <div class="text-center">
  39. <hgroup>
  40. <h1 class="header__title">
  41. <svg class="icon header__logo" alt="Crisp" viewBox="0 0 100 100">
  42. <use xlink:href="/svg/icons.svg#chip" />
  43. </svg>
  44. Crispy Boilerplate - Flat Sass Boilerplate
  45. </h1>
  46. </hgroup>
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. </header>
  52. <a class="button button--up" href="#header">
  53. <svg class="icon" alt="up" viewBox="0 0 100 100">
  54. <use xlink:href="/svg/icons.svg#triangle-up" />
  55. </svg>
  56. </a>
  57. <div class="container">
  58. <div class="grid">
  59. <div class="col-12 col-sm-3">
  60. <nav style="position: fixed;">
  61. <ul class="margin-top-0x">
  62. <li><a href="#npm">npm</a></li>
  63. <li><a href="#get-started">Get Started</a></li>
  64. <li><a href="#typography">Typography</a></li>
  65. <li><a href="#components">Components</a></li>
  66. <li><a href="#form">Form</a></li>
  67. <li><a href="#functions">Functions</a></li>
  68. <li><a href="#helpers">Helpers</a></li>
  69. <li><a href="#mixins">Mixins</a></li>
  70. <li><a href="#reflex-grid">Reflex Grid</a></li>
  71. </ul>
  72. </nav>
  73. </div>
  74. <div class="col-12 col-sm-9">
  75. <p>
  76. Why? There are so many! Yes, of Course, but this is not a Framework, it is a Boilerplate, more simple. I have tried to build a minimalistic sass.
  77. </p>
  78. <p>
  79. A few Years a have always created Styles to use in other Frameworks, crispy boilerplate is a a small toolkit from this helpers, styles that can be used to create. This is not beatiful or fancy it is a simple and basic toolkit to get a default style.
  80. </p>
  81. <p>
  82. For me it was important to use no js, not that i hate js, no, the Problem of bigger Frameworks was but for the most webapps, it was always diffult to build a few things and not getting a conflict. So i desided it is simpler to get a good stable basis
  83. and build smaller parts
  84. </p>
  85. <p>
  86. So this is a smaller approch, most projects i have then that big Frameworks were used, but i often felt that there was a Problem, often the fight against the framework, that result often in bigger and longer code. This is also a try to code get a smaller
  87. base to create more effecit No, it is a try, i can not promise you it will be done,
  88. </p>
  89. <!-- npm -->
  90. <hr class="margin-top-3x">
  91. <h2 id="npm" class="margin-top-1x">
  92. npm
  93. </h2>
  94. <p>
  95. </p>
  96. <!-- how to use -->
  97. <hr class="margin-top-3x">
  98. <h2 id="get-started" class="margin-top-1x">
  99. Get Started
  100. </h2>
  101. <p>
  102. </p>
  103. <!-- typography -->
  104. <hr class="margin-top-3x">
  105. <h2 id="typography" class="margin-top-1x">
  106. Typography
  107. </h2>
  108. <!-- abbr -->
  109. <h3 class="h4 margin-top-2x margin-bottom-0x">Abbr</h3>
  110. <h4 class="h6">Html:</h4>
  111. <pre class="code"><code>&lt;abbr title=&quot;&quot;&gt;&lt;/abbr&gt;</code></pre>
  112. <p>
  113. Glossier viral occupy mixtape pok pok cornhole, <abbr title="vape affogato hella">vape affogato hella</abbr> knausgaard thundercats
  114. </p>
  115. <!-- blockquote -->
  116. <h3 class="h4 margin-top-2x margin-bottom-0x">Blockquote</h3>
  117. <h4 class="h6">Html:</h4>
  118. <pre class="code"><code>&lt;blockquote&gt;&lt;/blockquote&gt;</code></pre>
  119. <blockquote>
  120. 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.
  121. </blockquote>
  122. <!-- paragraph -->
  123. <h3 class="h4 margin-top-2x margin-bottom-0x">Paragraph</h3>
  124. <h4 class="h6">Html:</h4>
  125. <pre class="code"><code>&lt;p&gt;&lt;/p&gt;</code></pre>
  126. <p>
  127. Glossier viral occupy mixtape pok pok.
  128. </p>
  129. <!-- list -->
  130. <h3 class="h4 margin-top-2x margin-bottom-0x">List</h3>
  131. <h4 class="h6">Html:</h4>
  132. <pre class="code"><code>&lt;ul&gt;
  133. &lt;li&gt;item 1&lt;/li&gt;
  134. &lt;li&gt;item 2
  135. &lt;ul&gt;
  136. &lt;li&gt;child item 1&lt;/li&gt;
  137. &lt;li&gt;child item 2&lt;/li&gt;
  138. &lt;/ul&gt;
  139. &lt;/li&gt;
  140. &lt;/ul&gt;
  141. &lt;ol&gt;
  142. &lt;li&gt;item 1&lt;/li&gt;
  143. &lt;li&gt;item 2&lt;/li&gt;
  144. &lt;/ol&gt;
  145. &lt;dl&gt;
  146. &lt;dt&gt;defined title 1&lt;/dt&gt;
  147. &lt;dd&gt;defined item 1&lt;/dd&gt;
  148. &lt;/dl&gt;</code></pre>
  149. <ul>
  150. <li>item 1</li>
  151. <li>
  152. item 2
  153. <ul>
  154. <li>child item 1</li>
  155. <li>child item 2</li>
  156. </ul>
  157. </li>
  158. </ul>
  159. <ol>
  160. <li>item 1</li>
  161. <li>item 2</li>
  162. </ol>
  163. <dl>
  164. <dt>defined title 1</dt>
  165. <dd>defined item 1</dd>
  166. </dl>
  167. <!-- components -->
  168. <hr class="margin-top-3x">
  169. <h2 id="components" class="margin-top-1x">
  170. Components
  171. </h2>
  172. <!-- components / button -->
  173. <h3 class="h4 margin-top-2x margin-bottom-0x">
  174. Button
  175. </h3>
  176. <h4 class="h6">Html:</h4>
  177. <pre class="code margin-top-1x"><code>&lt;button class=&quot;button&quot;&gt;&lt;/button&gt;
  178. &lt;button class=&quot;button button--wide&quot;&gt;&lt;/button&gt;</code></pre>
  179. <button class="button">Default</button>
  180. <button class="button button--wide margin-top-1x">Info</button>
  181. <!-- components / group -->
  182. <h3 class="h4 margin-top-2x margin-bottom-0x">
  183. Group
  184. </h3>
  185. <h4 class="h6">Html:</h4>
  186. <pre class="code"><code>&lt;nav class=&quot;group&quot;&gt;
  187. &lt;ul class=&quot;group__section&quot;&gt;
  188. &lt;li class=&quot;group__item&quot;&gt;first item&lt;/li&gt;
  189. &lt;li class=&quot;group__item&quot;&gt;second item&lt;/li&gt;
  190. &lt;li class=&quot;group__item&quot;&gt;third item&lt;/li&gt;
  191. &lt;/ul&gt;
  192. &lt;/nav&gt;</code></pre>
  193. <div class="panel panel__inner margin-bottom-1x">
  194. <nav class="group">
  195. <ul class="group__section">
  196. <li class="group__item">first item</li>
  197. <li class="group__item">second item</li>
  198. <li class="group__item">third item</li>
  199. </ul>
  200. </nav>
  201. </div>
  202. <h4 class="h6">Html:</h4>
  203. <pre class="code"><code>&lt;nav class=&quot;group group--horizontal&quot;&gt;
  204. &lt;ul class=&quot;group__section group__section--separate&quot;&gt;
  205. &lt;li class=&quot;group__item&quot;&gt;first item&lt;/li&gt;
  206. &lt;li class=&quot;group__item&quot;&gt;second item&lt;/li&gt;
  207. &lt;li class=&quot;group__item&quot;&gt;third item&lt;/li&gt;
  208. &lt;/ul&gt;
  209. &lt;/nav&gt;</code></pre>
  210. <div class="panel panel__inner">
  211. <nav class="group group--horizontal">
  212. <ul class="group__section group__section--separate">
  213. <li class="group__item">first item</li>
  214. <li class="group__item">second item</li>
  215. <li class="group__item">third item</li>
  216. </ul>
  217. </nav>
  218. </div>
  219. <!-- components / heading -->
  220. <h3 class="h4 margin-top-2x margin-bottom-0x">
  221. Heading
  222. </h3>
  223. <h4 class="h6">Html:</h4>
  224. <pre class="code"><code>&lt;h2&gt;&lt;/h2&gt;
  225. &lt;h2 class="h3"&gt;&lt;/h2&gt;</code></pre>
  226. <h4 class="h6">Sass:</h4>
  227. <pre class="code"><code>$crispy__heading__font-sizes: (
  228. 'h1': 40px,
  229. 'h2': 36px,
  230. 'h3': 32px,
  231. 'h4': 28px,
  232. 'h5': 24px,
  233. 'h6': 20px
  234. ) !default;</code></pre>
  235. <h1>Heading h1</h1>
  236. <h2>Heading h1</h2>
  237. <h3>Heading h1</h3>
  238. <h4>Heading h1</h4>
  239. <h5>Heading h1</h5>
  240. <h6>Heading h1</h6>
  241. <!-- components / hero -->
  242. <h3 class="h4 margin-top-2x margin-bottom-0x">
  243. Hero
  244. </h3>
  245. <h4 class="h6">Html:</h4>
  246. <pre class="code"><code>&lt;div class=&quot;hero hero--bottom&quot; style=&quot;height: 300px; background-image: url('https://picsum.photos/1024')&quot;&gt;&lt;/div&gt;</code></pre>
  247. <div class="hero hero--bottom" style="height: 300px; background-image: url('https://picsum.photos/1024')"></div>
  248. <!-- components / icon -->
  249. <h3 class="h4 margin-top-2x margin-bottom-0x">
  250. Icon
  251. </h3>
  252. <h4 class="h6">Html:</h4>
  253. <pre class="code"><code>&lt;svg class=&quot;icon icon--small&quot; alt=&quot;beaker&quot; viewBox=&quot;0 0 100 100&quot;&gt;
  254. &lt;use xlink:href=&quot;/svg/icons.svg#beaker&quot; /&gt;
  255. &lt;/svg&gt;
  256. &lt;svg class=&quot;icon&quot; alt=&quot;beaker&quot; viewBox=&quot;0 0 100 100&quot;&gt;
  257. &lt;use xlink:href=&quot;/svg/icons.svg#beaker&quot; /&gt;
  258. &lt;/svg&gt;
  259. &lt;svg class=&quot;icon icon--large&quot; alt=&quot;beaker&quot; viewBox=&quot;0 0 100 100&quot;&gt;
  260. &lt;use xlink:href=&quot;/svg/icons.svg#beaker&quot; /&gt;
  261. &lt;/svg&gt;
  262. &lt;svg class=&quot;icon icon--danger&quot; alt=&quot;alert&quot; viewBox=&quot;0 0 100 100&quot;&gt;
  263. &lt;use xlink:href=&quot;/svg/icons.svg#alert&quot; /&gt;
  264. &lt;/svg&gt;
  265. </code></pre>
  266. <svg class="icon icon--small" alt="beaker" viewBox="0 0 100 100">
  267. <use xlink:href="/svg/icons.svg#beaker" />
  268. </svg>
  269. <svg class="icon" alt="beaker" viewBox="0 0 100 100">
  270. <use xlink:href="/svg/icons.svg#beaker" />
  271. </svg>
  272. <svg class="icon icon--large" alt="beaker" viewBox="0 0 100 100">
  273. <use xlink:href="/svg/icons.svg#beaker" />
  274. </svg>
  275. <svg class="icon icon--danger" alt="alert" viewBox="0 0 100 100">
  276. <use xlink:href="/svg/icons.svg#alert" />
  277. </svg>
  278. <!-- components / modal -->
  279. <h3 class="h4 margin-top-2x margin-bottom-0x">
  280. Modal
  281. </h3>
  282. <h4 class="h6">Html:</h4>
  283. <pre class="code"><code>&lt;div class=&quot;modal modal--bottom width-100&quot;&gt;
  284. &lt;div class=&quot;panel&quot;&gt;
  285. &lt;div class=&quot;panel__inner&quot;&gt;
  286. Lorem Ipsum
  287. &lt;/div&gt;
  288. &lt;/div&gt;
  289. &lt;/div&gt;</code></pre>
  290. <div style="position: relative; width: 100%; height: 200px; border: 1px dotted black;">
  291. <div class="modal modal--bottom width-100">
  292. <div class="panel">
  293. <div class="panel__inner">
  294. Lorem Ipsum
  295. </div>
  296. </div>
  297. </div>
  298. </div>
  299. <!-- components / panel -->
  300. <h3 class="h4 margin-top-2x margin-bottom-0x">
  301. Panel
  302. </h3>
  303. <h4 class="h6">Html:</h4>
  304. <pre class="code"><code>&lt;div class=&quot;panel&quot;&gt;
  305. &lt;div class=&quot;panel__inner&quot;&gt;
  306. Lorem Ipsum
  307. &lt;/div&gt;
  308. &lt;/div&gt;</code></pre>
  309. <div class="panel">
  310. <div class="panel__inner">
  311. Lorem Ipsum
  312. </div>
  313. </div>
  314. <!-- components / table -->
  315. <h3 id="table" class="h4 margin-top-2x margin-bottom-0x">
  316. Table
  317. </h3>
  318. <h4 class="h6 margin-top-1x">Html:</h4>
  319. <pre class="code"><code>&lt;table class=&quot;table table--striped&quot;&gt;
  320. &lt;thead&gt;
  321. &lt;tr&gt;
  322. &lt;th&gt;&lt;/th&gt;
  323. &lt;/tr&gt;
  324. &lt;/thead&gt;
  325. &lt;tbody&gt;
  326. &lt;tr&gt;
  327. &lt;td&gt;&lt;/td&gt;
  328. &lt;/tr&gt;
  329. &lt;/tbody&gt;
  330. &lt;/table&gt;</code></pre>
  331. <table class="table table--striped margin-bottom-2x">
  332. <thead>
  333. <tr>
  334. <th>name</th>
  335. <th>age</th>
  336. </tr>
  337. </thead>
  338. <tbody>
  339. <tr>
  340. <td>Mr. Brown</td>
  341. <td>43</td>
  342. </tr>
  343. <tr>
  344. <td>Mr. Magenta</td>
  345. <td>32</td>
  346. </tr>
  347. <tr>
  348. <td>Mr. White</td>
  349. <td>45</td>
  350. </tr>
  351. </tbody>
  352. </table>
  353. <!-- form -->
  354. <hr class="margin-top-3x">
  355. <h2 id="functions" class="margin-top-1x">
  356. Form
  357. </h2>
  358. <!-- form / input -->
  359. <h3 class="h4 margin-top-0x margin-bottom-0x">
  360. Input
  361. </h3>
  362. <input type="text" />
  363. <!-- form / textarea -->
  364. <h3 class="h4 margin-top-0x margin-bottom-0x">
  365. Textarea
  366. </h3>
  367. <textarea></textarea>
  368. <!-- form / textarea -->
  369. <h3 class="h4 margin-top-0x margin-bottom-0x">
  370. Field
  371. </h3>
  372. <div class="field field--valid">
  373. <input type="text" />
  374. <span class="field__panel">
  375. Error!
  376. </span>
  377. </div>
  378. <div class="field field--error">
  379. <input type="text" />
  380. <span class="field__panel">
  381. Error!
  382. </span>
  383. </div>
  384. <!-- functions -->
  385. <hr class="margin-top-3x">
  386. <h2 id="functions" class="margin-top-1x">
  387. Functions
  388. </h2>
  389. <!-- functions / toEm / toRem -->
  390. <h3 class="h4 margin-top-0x margin-bottom-0x">
  391. toEm()<br>
  392. toRem()
  393. </h3>
  394. <h4 class="h6 margin-top-1x">Sass:</h4>
  395. <pre class="code"><code>toEm(5px);
  396. toEm(10px 10px 0 0);
  397. toRem(10px 10px 0 0);
  398. </code></pre>
  399. <p>
  400. Returns <strong>em</strong> and <strong>rem</strong>, accepts px and unitless values.
  401. </p>
  402. <!-- functions / stripUnit -->
  403. <h3 class="h4 margin-top-0x margin-bottom-0x">
  404. stripUnit()
  405. </h3>
  406. <span class="background-warning">/functions</span>
  407. <h4 class="h6 margin-top-1x">Sass:</h4>
  408. <pre class="code"><code>toEm(10px);</code></pre>
  409. <p>
  410. Returns value without unit.
  411. </p>
  412. <!-- helpers -->
  413. <hr class="margin-top-3x">
  414. <h2 id="helpers" class="margin-top-1x">
  415. Helpers
  416. </h2>
  417. <!-- helpers / align -->
  418. <h3 class="h4 margin-top-1x">
  419. Align
  420. </h3>
  421. <pre class="code">&lt;div class=&quot;text-left&quot;&gt;&lt;/div&gt;
  422. &lt;div class=&quot;text-center&quot;&gt;&lt;/div&gt;
  423. &lt;div class=&quot;text-right&quot;&gt;&lt;/div&gt;
  424. &lt;div class=&quot;text-justify&quot;&gt;&lt;/div&gt;
  425. &lt;div class=&quot;float-left&quot;&gt;&lt;/div&gt;
  426. &lt;div class=&quot;float-center&quot;&gt;&lt;/div&gt;
  427. &lt;div class=&quot;float-none&quot;&gt;&lt;/div&gt;
  428. &lt;div class=&quot;center&quot;&gt;&lt;/div&gt;
  429. &lt;div class=&quot;clearfix&quot;&gt;&lt;/div&gt;</code></pre>
  430. <!-- helpers / margin -->
  431. <h3 class="h4 margin-top-1x">
  432. Margin
  433. </h3>
  434. <p>
  435. margin-top and -bottom from <strong>$crispy__margin</strong> as px.
  436. </p>
  437. <pre class="code">&lt;div class=&quot;panel margin-bottom-0x&quot;&gt;margin-bottom-0x&lt;/div&gt;
  438. &lt;div class=&quot;margin-bottom-1x&quot;&gt;margin-bottom-1x&lt;/div&gt;
  439. &lt;div class=&quot;margin-bottom-2x&quot;&gt;margin-bottom-2x&lt;/div&gt;
  440. &lt;div class=&quot;margin-bottom-3x&quot;&gt;margin-bottom-3x&lt;/div&gt;</code></pre>
  441. <div class="panel panel__inner margin-bottom-0x">margin-bottom-0x</div>
  442. <div class="panel panel__inner margin-bottom-1x">margin-bottom-1x</div>
  443. <div class="panel panel__inner margin-bottom-2x">margin-bottom-2x</div>
  444. <div class="panel panel__inner margin-bottom-3x">margin-bottom-3x</div>
  445. <!-- helpers / media -->
  446. <h3 class="h4 margin-top-1x">
  447. Media
  448. </h3>
  449. <pre class="code"><code>&lt;img class=&quot;img-responsive&quot; src=&quot;https://picsum.photos/400&quot; /&gt;
  450. &lt;figure&gt;
  451. &lt;img class=&quot;img-responsive&quot; src=&quot;https://picsum.photos/400&quot; /&gt;
  452. &lt;figcaption class=&quot;text-center&quot;&gt;Lorem Ipsum&lt;/figcaption&gt;
  453. &lt;/figure&gt;
  454. &lt;div class=&quot;video-responsive&quot; style=&quot;height: 280px;&quot;&gt;
  455. &lt;iframe src=&quot;https://giphy.com/embed/13XW2MJE0XCoM0&quot; width=&quot;480&quot; height=&quot;361&quot;&gt;&lt;/iframe&gt;
  456. &lt;/div&gt;</code></pre>
  457. <div class="grid">
  458. <div class="col-6">
  459. <img class="img-responsive" src="https://picsum.photos/400" />
  460. </div>
  461. <div class="col-6">
  462. <figure>
  463. <img class="img-responsive" src="https://picsum.photos/400" />
  464. <figcaption class="text-center">Lorem Ipsum</figcaption>
  465. </figure>
  466. </div>
  467. </div>
  468. <div class="grid">
  469. <div class="col-6">
  470. <div class="video-responsive" style="height: 280px;">
  471. <iframe src="https://giphy.com/embed/13XW2MJE0XCoM0" width="480" height="361" frameBorder="0" class="giphy-embed" allowFullScreen></iframe>
  472. </div>
  473. </div>
  474. </div>
  475. <!-- helpers / media -->
  476. <h3 class="h4 margin-top-1x">
  477. Width
  478. </h3>
  479. <pre class="code"><code>&lt;div class=&quot;panel width-25&quot;&gt;width-25&lt;/div&gt;
  480. &lt;div class=&quot;width-50&quot;&gt;width-50&lt;/div&gt;
  481. &lt;div class=&quot;width-75&quot;&gt;width-75&lt;/div&gt;
  482. &lt;div class=&quot;width-100&quot;&gt;width-100&lt;/div&gt;</code></pre>
  483. <div class="panel panel__inner width-25 margin-bottom-1x">width-25</div>
  484. <div class="panel panel__inner width-50 margin-bottom-1x">width-50</div>
  485. <div class="panel panel__inner width-75 margin-bottom-1x">width-75</div>
  486. <div class="panel panel__inner width-100 margin-bottom-1x">width-100</div>
  487. <!-- mixins -->
  488. <hr class="margin-top-3x">
  489. <h2 id="mixins" class="margin-top-1x">
  490. Mixins
  491. </h2>
  492. <!-- mixins / media-queries -->
  493. <h3 class="h4 margin-top-1x">
  494. Media Queries
  495. </h3>
  496. <p>
  497. These <strong>@mixins</strong> were used with the Breakpoints from the <a href="#reflex-grid">Reflex Grid</a>.
  498. </p>
  499. <ul>
  500. <li><strong>xs</strong> 576px</li>
  501. <li><strong>sm</strong> 768px</li>
  502. <li><strong>md</strong> 992px</li>
  503. <li><strong>lg</strong> 1200px</li>
  504. <li><strong>xlg</strong> 1600px</li>
  505. </ul>
  506. <h4 class="h6 margin-top-1x">Html:</h4>
  507. <pre class="code"><code>&lt;div class=&quot;sm&quot;&gt;sm&lt;/div&gt;
  508. &lt;div class=&quot;md&quot;&gt;md&lt;/div&gt;
  509. &lt;div class=&quot;md-only&quot;&gt;md-only&lt;/div&gt;
  510. &lt;div class=&quot;lg-only&quot;&gt;lg-only&lt;/div&gt;</pre></code>
  511. <h4 class="h6 margin-top-1x">Sass:</h4>
  512. <pre class="code"><code>.sm, .md, .md-only, .lg-only {
  513. display: none;
  514. }
  515. .sm {
  516. @include crispy__media-sm() {
  517. display: block;
  518. }
  519. }
  520. .md {
  521. @include crispy__media-md() {
  522. display: block;
  523. }
  524. }
  525. .md-only {
  526. @include crispy__media-md-only() {
  527. display: block;
  528. }
  529. }
  530. .lg-only {
  531. @include crispy__media-lg-only() {
  532. display: block;
  533. }
  534. }</code></pre>
  535. <div class="grid">
  536. <div class="col-3">
  537. <div class="panel panel__inner sm margin-bottom-1x">sm</div>
  538. </div>
  539. <div class="col-3">
  540. <div class="panel panel__inner md margin-bottom-1x">md</div>
  541. </div>
  542. <div class="col-3">
  543. <div class="panel panel__inner md-only margin-bottom-1x">md-only</div>
  544. </div>
  545. <div class="col-3">
  546. <div class="panel panel__inner lg-only margin-bottom-1x">lg-only</div>
  547. </div>
  548. </div>
  549. <!-- Reflex Grid -->
  550. <hr class="margin-top-3x">
  551. <h2 id="reflex-grid" class="margin-top-1x">
  552. Reflex Grid
  553. </h2>
  554. <p>
  555. The <strong>Reflex Grid</strong> is from <a target="_blank" href="http://lendmeyourear.net">Lee Jordan</a>. I have build a few helper for media-queries. <strong>Reflex Grid </strong> is lightweight, simple and uses a flexbox grid with cross browser
  556. support, an inline-block fallback.
  557. </p>
  558. <p>
  559. Documentation: <a target="_blank" href="http://reflexgrid.com/docs/">http://reflexgrid.com/docs/</a><br /> Github: <a target="_blank" href="https://github.com/leejordan/reflex">https://github.com/leejordan/reflex</a>
  560. </p>
  561. </div>
  562. </div>
  563. </div>
  564. <footer class="footer">
  565. <div class="container">
  566. <div class="grid">
  567. <div class="col-12">
  568. <div class="text-center">
  569. <p>
  570. <a target="_blank" href="https://thenounproject.com/wxchee/">W. X. Chee</a>
  571. </p>
  572. </div>
  573. </div>
  574. </div>
  575. </div>
  576. </footer>
  577. </body>
  578. </html>