{"id":13318,"date":"2016-06-28T12:19:10","date_gmt":"2016-06-28T16:19:10","guid":{"rendered":"https:\/\/webdevstudios.com\/?p=13318"},"modified":"2024-04-15T12:02:17","modified_gmt":"2024-04-15T16:02:17","slug":"getting-started-with-flexbox","status":"publish","type":"post","link":"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/","title":{"rendered":"Getting Started with Flexbox: First Impressions, Tips, &#038; Tricks"},"content":{"rendered":"<p>Recently, here at WDS, we started incorporating <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/CSS_Flexible_Box_Layout\/Using_CSS_flexible_boxes\" target=\"_blank\" rel=\"noopener\">Flexbox<\/a> into our projects. I wanted to share some great resources I\u2019ve come across to get going with Flexbox and highlight some of the early first impressions and some of the struggles you might encounter along the way.<\/p>\n<p><em>And, if you want to see just a few examples of some of the types of stuff we\u2019ve been creating with Flexbox, be sure to check out our <a href=\"http:\/\/codepen.io\/webdevstudios\/\" target=\"_blank\" rel=\"noopener\">WebDevStudios Codepen page<\/a>.<\/em><\/p>\n<p><!--more--><\/p>\n<h3>Getting Started<\/h3>\n<p>First, if you\u2019re new to Flexbox, I can not recommend a better starting place than <a href=\"http:\/\/flexbox.io\/\" target=\"_blank\" rel=\"noopener\">Wes Bos&#8217; flexbox.io<\/a> video tutorials. These are really great, quick videos that can easily get you up and running pretty solidly in less than a couple hours (if you watch them all). The only downfall is trying to go back and reference something is a little tricky with video. Not to worry&#8211;<a href=\"https:\/\/css-tricks.com\/snippets\/css\/a-guide-to-flexbox\/\">CSS-Tricks has you covered with this great guide <\/a>to check back with when getting the lay of the land.<\/p>\n<p style=\"text-align: left;\">One of the trickiest and most difficult parts of implementing a new way of doing things is that there\u2019s definitely going to be a bit of a learning curve. <strong>Learning while doing is the absolute best way to force yourself to learn something new<\/strong>, however along with that comes the <a href=\"https:\/\/webdevstudios.com\/2016\/04\/13\/get-struggle-bus\/\">\u201cstruggle bus\u201d at times<\/a>, and that&#8217;s ok&#8211;it&#8217;s common. Theoretical practice is nice, but real implementation is, well, REAL, and can be tricky sometimes.<\/p>\n<h3>Flexbox Hightlights<\/h3>\n<p>Let&#8217;s start by reviewing some of the benefits and positives to using Flexbox.<\/p>\n<p>Flexbox has the ability to create a variety of different layouts and ways to order items on a page to best fill the available space. This was\u00a0previously much more complicated especially when changing screen sizes and orientation.<\/p>\n<p>It\u2019s important to note that Flexbox is a module and not a single property. Some of the basic terminology can be found here from <a href=\"https:\/\/css-tricks.com\/snippets\/css\/a-guide-to-flexbox\/\">CSS-Tricks.com<\/a>. This\u00a0is a really good primer when you&#8217;re first trying to get started. Basically, there is a parent item, and it&#8217;s referred to as the <strong>flex-container<\/strong>.\u00a0Then, the children of the parent container are referred to as <strong>flex-item<\/strong>\u00a0(or items). This isn\u2019t all that different than using <a href=\"https:\/\/webdevstudios.com\/?s=bourbon\">Bourbon<\/a> and Neat in terms of parent\/child relationships, which <a href=\"https:\/\/webdevstudios.com\/2014\/10\/09\/wordpress-up-and-running-with-grunt-sass-bourbon-and-neat\/\">I touched on some time ago<\/a>.<\/p>\n<p>Once you have a handle on that, you\u2019re ready to start creating and laying out items&#8211;and you&#8217;ll find it easier than you have in the past! As I mentioned earlier, one of the best features is the ability to re-order flex items within a particular container, at least from my first impressions, I found this to be super easy and really helpful.<\/p>\n<p>Have you ever tried to do this with previous methods, grids, or even using Bourbon&#8217;s Neat? It\u2019s been <em>possible<\/em>, but at times more difficult than needed to make it happen,\u00a0and it\u2019s always felt, at least to me, a little unstable when previously re-ordering items (particularly within breakpoints)&#8230;that is, prior to using Flexbox. They worked, but the way it&#8217;s handled by Flexbox is much nicer and feels much more intuitive.<\/p>\n<h3>Flexbox\u00a0Ordering<\/h3>\n<p>This is a super simple example, but here you can see rather than display these blocks in numerical order, we\u2019ve put<em> block #3 into the first position<\/em> by using the order property.<\/p>\n<p><iframe title=\"Flexbox Ordering Demo\" id=\"cp_embed_zBqEbN\" src=\"https:\/\/codepen.io\/imbigwill\/embed\/preview\/zBqEbN?default-tabs=css%2Cresult&amp;height=300&amp;host=https%3A%2F%2Fcodepen.io&amp;slug-hash=zBqEbN\" scrolling=\"no\" frameborder=\"0\" height=\"300\" allowtransparency=\"true\" class=\"cp_embed_iframe\" style=\"width: 100%; overflow: hidden;\"><\/iframe><\/p>\n<p>Have you ever gotten mockup where perhaps the desktop view had four\u00a0columns across in the footer section of a site and then when you look at the mobile version they\u2019re completely re-ordered? This makes that a much easier task now by simply adding the order property. The lower the number, the higher priority on the item.<\/p>\n<h3>Flexbox\u00a0Shorthand<\/h3>\n<p>For parent containers, the flex direction and flex wrap properties can be written our individually, or you can use the shorthand version, which is flex flow:<\/p>\n<p>Flex grow, flex shrink, and flex basis (additional flex item properties) can be written out individually or simply combine all three items in the flex property on child items to make it a little more succinct.<\/p>\n<p><em><strong>Also, it&#8217;s good to note here: The float, clear, and vertical-align properties have no effect on flex items.<\/strong><\/em><\/p>\n<div class=\"snippetcpt-wrap\" id=\"snippet-13319\" data-id=\"13319\" data-edit=\"\" data-copy=\"\/wp-json\/wp\/v2\/posts\/13318?snippet=81d170f2c7&#038;id=13319\" data-fullscreen=\"https:\/\/webdevstudios.com\/code-snippets\/flexbox-shorthand\/?full-screen=1\">\n\t\t\t\t<pre class=\"prettyprint linenums lang-cs\" title=\"Flexbox Shorthand\">\/\/ Flex-flow combines flex-direction and flex-wrap properties\n\/\/ Default values are:\nflex-flow: row nowrap;\n\n\/\/ Flex combines flex-grow, flex-shrink, and flex-basis\n\/\/ Default values are:\nflex: 0 1 auto;\n\n\/\/ *important to note for older browser support you'll \n\/\/  want to add a unit value to the flex basis portion\n\n\/\/** https:\/\/github.com\/philipwalton\/flexbugs#4-flex-shorthand-declarations-with-unitless-flex-basis-values-are-ignored<\/pre>\n\t\t\t<\/div>\n<h3>Flexbox\u00a0Vertical Centering<\/h3>\n<p>Vertical centering text has always been a bit of pain point for front-end developers. It seems like every time the amount of variables that can vary make the solution vary, and sadly, vertical-align middle doesn\u2019t always seem to work as intended. With Flexbox, you can wipe away the tears from vertical centering not working out just as you intended because the solution has been simplified.<\/p>\n<p>This is a great example from Philip Walton\u2019s <a href=\"https:\/\/philipwalton.github.io\/solved-by-flexbox\/demos\/vertical-centering\/\">Solved by Flexbox<\/a> site; with just a couple lines of CSS,\u00a0the magic happens within the parent container (flex-container).<\/p>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" src=\"https:\/\/codepen.io\/imbigwill\/embed\/preview\/ZOWvyM?height=300&#038;amp;slug-hash=ZOWvyM&#038;amp;default-tabs=css,result&#038;amp;host=http%3A%2F%2Fcodepen.io&#038;amp;embed-version=2#?secret=gGJDRTGRuL\" data-secret=\"gGJDRTGRuL\" title=\"Vertical Center Multi Lines of Text with Flexbox\" scrolling=\"no\" frameborder=\"0\" height=\"300\"><\/iframe><\/p>\n<h3>Flexbox Troubleshooting<\/h3>\n<p>This is just a little overview and highlighting some of the positives\u00a0that come along with Flexbox (and there are certainly more),\u00a0but along with all the positives, there are definitely some hurdles at times, common issues and things to keep in mind.<\/p>\n<p>The first resource I want to point out is also from <a href=\"https:\/\/github.com\/philipwalton\/flexbugs\">Philip Walton<\/a>; it\u2019s a good list of notes, bugs, and workarounds. If you find yourself struggling to get something working as expected (or how you thought it would when checking your work while cross browser testing), this is a community curated list that\u00a0should be pretty up to date, and will help you figure out what you need to do next.<\/p>\n<h3>Flexbox Tips<\/h3>\n<p>While browser support has come along way, I don\u2019t recommend using\u00a0Flexbox without <a href=\"https:\/\/github.com\/postcss\/autoprefixer\">autoprefixer<\/a>. This will handle vendor prefixing and support legacy browsers you may have to support. To my knowledge, it doesn\u2019t hurt to have this in place generally speaking, with or without Flexbox in use, so if you&#8217;re not using it, definitely check it out.<\/p>\n<p>In addition to using autoprefixer and referencing the flexbugs Github page, one thing to keep in mind if you don&#8217;t want to be constantly referring back to other places\u00a0that I found helpful was <strong>often related\u00a0to the flex-basis property. <\/strong>Whether\u00a0on it\u2019s own or part of the\u00a0shorthand form when issues arise in older version of IE(10\/11), I found adjusting this was the most commonly fix on the flex item.<\/p>\n<p>Although this last point may seem obvious given the name \u201cFlexbox,\u201d it\u2019s important to note that while pixel perfect layouts are certainly doable with Flexbox, it can be a bit of a challenge at times at least when getting started&#8211;especially if you have very specific layouts to work from a mobile up to desktop view. Once you get the hang of things, it&#8217;s actually not too bad, but it&#8217;s\u00a0something to keep in mind again when getting started.<\/p>\n<h3>Additional Resources<\/h3>\n<p>Below is a collection of additional resources not already highlighted in this post if you want to dig in deeper. Some of the games are good if this is your first foray with Flexbox. Practice a little! I highly recommend taking a look at some of these resources for additional notes and tips:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.sketchingwithcss.com\/\">Sketching with CSS<\/a><\/li>\n<li><a href=\"http:\/\/www.adam-bray.com\/blog\/107\/simple-css-alignments-flexbox\/\">Simple Flexbox Layouts<\/a><\/li>\n<li><a href=\"http:\/\/flexboxfroggy.com\">FleboxFroggy!<\/a><\/li>\n<li><a href=\"http:\/\/www.flexboxdefense.com\">Flexbox Defense<\/a><\/li>\n<li><a href=\"http:\/\/flexboxin5.com\/\">Flexbox in 5<\/a><\/li>\n<li><a href=\"https:\/\/scotch.io\/tutorials\/a-visual-guide-to-css3-flexbox-properties\">Visual Guide to Flexbox<\/a><\/li>\n<li><a href=\"http:\/\/heydesigner.com\/css-flexbox\/\">More Resources<\/a><\/li>\n<\/ul>\n<h3>Now and Down the Road<\/h3>\n<p><a href=\"https:\/\/jakearchibald.com\/2014\/dont-use-flexbox-for-page-layout\/\">This article<\/a> is a good resource to checkout and highlights some things to think about both now and moving ahead. As with most Front-End Developer technologies, things are always changing and evolving as the web moves forward.<\/p>\n<h3>Have any tips you&#8217;d like to share?<\/h3>\n<p>Are you currently working with Flexbox? Do you have any tips, tricks, or speed bumps you&#8217;ve run into that you found helpful when working with Flexbox? If so, we&#8217;d love to hear them in the comments! If you have any recommendation or things you&#8217;d like to see in the next Flexbox post, let us know and we&#8217;ll try and cover that\u00a0too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, here at WDS, we started incorporating Flexbox into our projects. I wanted to share some great resources I\u2019ve come across to get going with Flexbox and highlight some of the early first impressions and some of the struggles you might encounter along the way. And, if you want to see just a few examples <a class=\"more-link\" href=\"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/\">Read More<span class=\"screen-reader-text\"> Getting Started with Flexbox: First Impressions, Tips, &#038; Tricks<\/span><\/a><\/p>\n","protected":false},"author":70,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"jetpack_post_was_ever_published":false,"footnotes":""},"categories":[139,140,185,150],"tags":[280,192,812,725,235],"coauthors":[4417],"class_list":["post-13318","post","type-post","status-publish","format-standard","hentry","category-design","category-development","category-products-we-love","category-tutorial","tag-design","tag-development-tips","tag-flexbox","tag-front-end-development","tag-tutorials"],"acf":{"background_choice":{"value":"null","label":"None"},"section_title_type":"h2","section_title_alignment":"left","section_title":"","blog_hero_image":{"ID":15586,"id":15586,"title":"flexbox","filename":"flexbox.jpg","filesize":26453,"url":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox.jpg","link":"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/flexbox\/","alt":"","author":"13","description":"","caption":"","name":"flexbox","status":"inherit","uploaded_to":13318,"date":"2017-02-13 20:37:16","modified":"2017-02-13 20:37:20","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/webdevstudios.com\/wp-includes\/images\/media\/default.png","width":1920,"height":1080,"sizes":{"thumbnail":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-150x150.jpg","thumbnail-width":150,"thumbnail-height":150,"medium":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-300x169.jpg","medium-width":300,"medium-height":169,"medium_large":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-768x432.jpg","medium_large-width":768,"medium_large-height":432,"large":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-1024x576.jpg","large-width":850,"large-height":478,"1536x1536":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-1536x864.jpg","1536x1536-width":1536,"1536x1536-height":864,"2048x2048":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox.jpg","2048x2048-width":1920,"2048x2048-height":1080,"featured-work-lg":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-436x511.jpg","featured-work-lg-width":436,"featured-work-lg-height":511,"featured-work-sm":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-436x241.jpg","featured-work-sm-width":436,"featured-work-sm-height":241,"book-cover":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-235x300.jpg","book-cover-width":235,"book-cover-height":300,"home-hero":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-1350x440.jpg","home-hero-width":1350,"home-hero-height":440,"services-screenshot":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-590x790.jpg","services-screenshot-width":590,"services-screenshot-height":790,"single-blog-featured":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-1920x625.jpg","single-blog-featured-width":1920,"single-blog-featured-height":625,"single-blog-inline":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-850x360.jpg","single-blog-inline-width":850,"single-blog-inline-height":360,"grid-image":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-420x420.jpg","grid-image-width":420,"grid-image-height":420,"logo-train":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-107x60.jpg","logo-train-width":107,"logo-train-height":60,"simple-header":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-1920x191.jpg","simple-header-width":1920,"simple-header-height":191,"full-width":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-1920x1080.jpg","full-width-width":1920,"full-width-height":1080,"fifty-fifty-media":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox-1300x731.jpg","fifty-fifty-media-width":1300,"fifty-fifty-media-height":731,"gform-image-choice-sm":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox.jpg","gform-image-choice-sm-width":300,"gform-image-choice-sm-height":169,"gform-image-choice-md":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox.jpg","gform-image-choice-md-width":400,"gform-image-choice-md-height":225,"gform-image-choice-lg":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2016\/06\/flexbox.jpg","gform-image-choice-lg-width":600,"gform-image-choice-lg-height":338}}},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Getting Started with Flexbox: First Impressions, Tips, &amp; Tricks<\/title>\n<meta name=\"description\" content=\"Will shares a tutorial on how to get started with Flexbox, as well as some great resources for using this tool in your front-end development.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting Started with Flexbox: First Impressions, Tips, &amp; Tricks\" \/>\n<meta property=\"og:description\" content=\"Will shares a tutorial on how to get started with Flexbox, as well as some great resources for using this tool in your front-end development.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/\" \/>\n<meta property=\"og:site_name\" content=\"WebDevStudios\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/webdevstudios\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-28T16:19:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-15T16:02:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webdevstudios.com\/wp-content\/uploads\/2022\/11\/wds-default.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Will Schmierer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webdevstudios\" \/>\n<meta name=\"twitter:site\" content=\"@webdevstudios\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Will Schmierer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/2016\\\/06\\\/28\\\/getting-started-with-flexbox\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/2016\\\/06\\\/28\\\/getting-started-with-flexbox\\\/\"},\"author\":{\"name\":\"Will Schmierer\",\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/#\\\/schema\\\/person\\\/a18a649eccd22613fb81f9e6076e0f1a\"},\"headline\":\"Getting Started with Flexbox: First Impressions, Tips, &#038; Tricks\",\"datePublished\":\"2016-06-28T16:19:10+00:00\",\"dateModified\":\"2024-04-15T16:02:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/2016\\\/06\\\/28\\\/getting-started-with-flexbox\\\/\"},\"wordCount\":1348,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/#organization\"},\"keywords\":[\"Design\",\"development tips\",\"Flexbox\",\"front-end development\",\"Tutorials\"],\"articleSection\":[\"Design\",\"Development\",\"Products We Love\",\"Tutorial\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/webdevstudios.com\\\/2016\\\/06\\\/28\\\/getting-started-with-flexbox\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/2016\\\/06\\\/28\\\/getting-started-with-flexbox\\\/\",\"url\":\"https:\\\/\\\/webdevstudios.com\\\/2016\\\/06\\\/28\\\/getting-started-with-flexbox\\\/\",\"name\":\"Getting Started with Flexbox: First Impressions, Tips, & Tricks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/#website\"},\"datePublished\":\"2016-06-28T16:19:10+00:00\",\"dateModified\":\"2024-04-15T16:02:17+00:00\",\"description\":\"Will shares a tutorial on how to get started with Flexbox, as well as some great resources for using this tool in your front-end development.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/2016\\\/06\\\/28\\\/getting-started-with-flexbox\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/webdevstudios.com\\\/2016\\\/06\\\/28\\\/getting-started-with-flexbox\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/2016\\\/06\\\/28\\\/getting-started-with-flexbox\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/webdevstudios.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting Started with Flexbox: First Impressions, Tips, &#038; Tricks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/#website\",\"url\":\"https:\\\/\\\/webdevstudios.com\\\/\",\"name\":\"WebDevStudios\",\"description\":\"WordPress Design and Development Agency\",\"publisher\":{\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/webdevstudios.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/#organization\",\"name\":\"WebDevStudios\",\"url\":\"https:\\\/\\\/webdevstudios.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/webdevstudios.com\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/wds-amp-logo.png\",\"contentUrl\":\"https:\\\/\\\/webdevstudios.com\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/wds-amp-logo.png\",\"width\":173,\"height\":60,\"caption\":\"WebDevStudios\"},\"image\":{\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/facebook.com\\\/webdevstudios\",\"https:\\\/\\\/x.com\\\/webdevstudios\",\"http:\\\/\\\/instagram.com\\\/webdevstudios\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/webdevstudios-llc-\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/webdevstudios.com\\\/#\\\/schema\\\/person\\\/a18a649eccd22613fb81f9e6076e0f1a\",\"name\":\"Will Schmierer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4ea9e13edc3adb170bef0be7207d86a91e703d9cf14206fc9283eaf4f475c735?s=96&d=mm&r=gad7525d3e12d1b004ed7aba81a687f57\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4ea9e13edc3adb170bef0be7207d86a91e703d9cf14206fc9283eaf4f475c735?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4ea9e13edc3adb170bef0be7207d86a91e703d9cf14206fc9283eaf4f475c735?s=96&d=mm&r=g\",\"caption\":\"Will Schmierer\"},\"url\":\"https:\\\/\\\/webdevstudios.com\\\/author\\\/wills\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Getting Started with Flexbox: First Impressions, Tips, & Tricks","description":"Will shares a tutorial on how to get started with Flexbox, as well as some great resources for using this tool in your front-end development.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/","og_locale":"en_US","og_type":"article","og_title":"Getting Started with Flexbox: First Impressions, Tips, & Tricks","og_description":"Will shares a tutorial on how to get started with Flexbox, as well as some great resources for using this tool in your front-end development.","og_url":"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/","og_site_name":"WebDevStudios","article_publisher":"http:\/\/facebook.com\/webdevstudios","article_published_time":"2016-06-28T16:19:10+00:00","article_modified_time":"2024-04-15T16:02:17+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2022\/11\/wds-default.png","type":"image\/png"}],"author":"Will Schmierer","twitter_card":"summary_large_image","twitter_creator":"@webdevstudios","twitter_site":"@webdevstudios","twitter_misc":{"Written by":"Will Schmierer","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/#article","isPartOf":{"@id":"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/"},"author":{"name":"Will Schmierer","@id":"https:\/\/webdevstudios.com\/#\/schema\/person\/a18a649eccd22613fb81f9e6076e0f1a"},"headline":"Getting Started with Flexbox: First Impressions, Tips, &#038; Tricks","datePublished":"2016-06-28T16:19:10+00:00","dateModified":"2024-04-15T16:02:17+00:00","mainEntityOfPage":{"@id":"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/"},"wordCount":1348,"commentCount":0,"publisher":{"@id":"https:\/\/webdevstudios.com\/#organization"},"keywords":["Design","development tips","Flexbox","front-end development","Tutorials"],"articleSection":["Design","Development","Products We Love","Tutorial"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/","url":"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/","name":"Getting Started with Flexbox: First Impressions, Tips, & Tricks","isPartOf":{"@id":"https:\/\/webdevstudios.com\/#website"},"datePublished":"2016-06-28T16:19:10+00:00","dateModified":"2024-04-15T16:02:17+00:00","description":"Will shares a tutorial on how to get started with Flexbox, as well as some great resources for using this tool in your front-end development.","breadcrumb":{"@id":"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webdevstudios.com\/2016\/06\/28\/getting-started-with-flexbox\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webdevstudios.com\/"},{"@type":"ListItem","position":2,"name":"Getting Started with Flexbox: First Impressions, Tips, &#038; Tricks"}]},{"@type":"WebSite","@id":"https:\/\/webdevstudios.com\/#website","url":"https:\/\/webdevstudios.com\/","name":"WebDevStudios","description":"WordPress Design and Development Agency","publisher":{"@id":"https:\/\/webdevstudios.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webdevstudios.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webdevstudios.com\/#organization","name":"WebDevStudios","url":"https:\/\/webdevstudios.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webdevstudios.com\/#\/schema\/logo\/image\/","url":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2019\/07\/wds-amp-logo.png","contentUrl":"https:\/\/webdevstudios.com\/wp-content\/uploads\/2019\/07\/wds-amp-logo.png","width":173,"height":60,"caption":"WebDevStudios"},"image":{"@id":"https:\/\/webdevstudios.com\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/facebook.com\/webdevstudios","https:\/\/x.com\/webdevstudios","http:\/\/instagram.com\/webdevstudios","https:\/\/www.linkedin.com\/company\/webdevstudios-llc-\/"]},{"@type":"Person","@id":"https:\/\/webdevstudios.com\/#\/schema\/person\/a18a649eccd22613fb81f9e6076e0f1a","name":"Will Schmierer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4ea9e13edc3adb170bef0be7207d86a91e703d9cf14206fc9283eaf4f475c735?s=96&d=mm&r=gad7525d3e12d1b004ed7aba81a687f57","url":"https:\/\/secure.gravatar.com\/avatar\/4ea9e13edc3adb170bef0be7207d86a91e703d9cf14206fc9283eaf4f475c735?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4ea9e13edc3adb170bef0be7207d86a91e703d9cf14206fc9283eaf4f475c735?s=96&d=mm&r=g","caption":"Will Schmierer"},"url":"https:\/\/webdevstudios.com\/author\/wills\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3WX6u-3sO","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webdevstudios.com\/wp-json\/wp\/v2\/posts\/13318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webdevstudios.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webdevstudios.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webdevstudios.com\/wp-json\/wp\/v2\/users\/70"}],"replies":[{"embeddable":true,"href":"https:\/\/webdevstudios.com\/wp-json\/wp\/v2\/comments?post=13318"}],"version-history":[{"count":0,"href":"https:\/\/webdevstudios.com\/wp-json\/wp\/v2\/posts\/13318\/revisions"}],"wp:attachment":[{"href":"https:\/\/webdevstudios.com\/wp-json\/wp\/v2\/media?parent=13318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webdevstudios.com\/wp-json\/wp\/v2\/categories?post=13318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webdevstudios.com\/wp-json\/wp\/v2\/tags?post=13318"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/webdevstudios.com\/wp-json\/wp\/v2\/coauthors?post=13318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}