diff options
Diffstat (limited to 'build/flexbox-grid')
-rw-r--r-- | build/flexbox-grid/index.html | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/build/flexbox-grid/index.html b/build/flexbox-grid/index.html index 096f747..59ad2e0 100644 --- a/build/flexbox-grid/index.html +++ b/build/flexbox-grid/index.html @@ -1,23 +1,28 @@ <!doctype html> -<html lang="en" id="top"> +<html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" href="data:,"> <title>Adaptable Flexbox Grid</title> - <link href="https://bt.ht/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" /> - <style>*{box-sizing:border-box;}body{font-family:sans-serif;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{overflow:auto;}table{text-align:left;width:100%;}</style> + <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" /> + <link href="/rss.xml" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" /> +<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.footnotes{font-size:90%;}</style> </head> <nav> - <a href="#menu">Menu ↓</a> + <a href="#menu">Menu ↓</a> </nav> <main> -<h1>Adaptable Flexbox Grid</h1> +<h1 id="adaptable-flexbox-grid">Adaptable Flexbox Grid</h1> + <p>2018-11-22</p> -<p>You can use <code>flexbox</code> for many tricky layout "hacks" and implementing a grid layout is no different.</p> + +<p>You can use <code>flexbox</code> for many tricky layout “hacks” and implementing a grid layout is no different.</p> + <p>Check out the CodePen below to see how you can implement a flexbox grid system that adapts automatically based on how many items you insert per row (maximum 6 children in this example).</p> + <p><a href="https://codepen.io/bradleytaunt/pen/rQdLxv/">Live CodePen Example</a></p> <footer role="contentinfo"> <h2>Menu Navigation</h2> |