Code Monkey home page Code Monkey logo

understanding-flexbox's Introduction

Understanding Flexbox: Everything you need to know

If you have to read only one article on the Flexbox model, this is it.

Understanding Flexbox

Table of Contents

  1. Introduction
  2. The Flex-container Properties
  3. The Flex-item Properties
  4. Absolute and Relative Flex
  5. Auto-Margin Alignment
  6. Switching Flex Direction
  7. Flexbox Solved That
  8. Building a Music App Layout with Flexbox
  9. Responsive design with Flexbox
  10. Conclusion

The title, "Understanding Flexbox: Everything you need to know," may seem like a bluff, as no one can fit everything there is to a subject within one article.

Still, I'd take on the challenge to discuss "everything" you need to get good with the CSS Flexbox model.

I hope you're ready for it.

The Learning Curve

Here is a tweet from Philip Roberts, a developer whom I respect very much.

Flexbox tweet

Learning Flexbox may not be fun at first. It challenges what you know about layouts in CSS. But that's fine. Everything worth learning begins that way. Flexbox is certainly something you should take seriously. It paves the way for the modern style of laying out content, and it's not going away anytime soon.

It has emerged as a new standard. So with outstretched arms, embrace it!

What you'll Learn

I'll first walk you through the basics of Flexbox. I believe any attempt at understanding Flexbox must begin here

flexbox fundamentals

Learning the fundamentals is cool. What's even cooler is applying this knowledge to real-world apps.

I’ll walk you through building a lot of “small things.” Afterwards, I’ll wrap things up with this music app completely laid out with Flexbox.

catty-board

Doesn't that look pretty?

I’ll get into the inner workings of Flexbox while you learn to build the music app layout. You’ll also get a feel for the role Flexbox plays in responsive web design, too.

I'm pretty much excited to show all of this to you

Happy dude gif by Jona Dinges

But before you get started building user interfaces, I’m going to walk you through some drills, first. This may seem boring, but it’s all part of the process of getting you adept at Flexbox.

Let’s get started.

Free PDF version available here.

Next Read: INTRODUCTION

understanding-flexbox's People

Contributors

bflatt72 avatar davedub avatar evans avatar ohansemmanuel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

understanding-flexbox's Issues

Is there anything wrong?

If you've written any text in the Japanese language, then this will be familiar! (for the record, I've never written any texts in Japanese). Japanese text is written from top-to-bottom and left-to-right! Not so weird, huh?

Maybe here it should be " Japanese text is written from top-to-bottom and righ-to-left! " instead of " Japanese text is written from top-to-bottom and left-to-right! " ?

Chapter links

I noticed your chapter links in the main README file don't work. As it looks very simple to fix I could do this for you if you'd like. It would be my first project contribution.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.