August 2015
Intermediate to advanced
312 pages
7h 3m
English
Flexbox has four key characteristics: direction, alignment, ordering, and flexibility. We'll cover all these characteristics and how they relate by way of a few examples.
The examples are deliberately simplistic; just moving some boxes and their content around so we can understand the principals of how Flexbox works.
Note that this first Flexbox example is example_03-03:

Here's the markup:
<div class="CenterMe">
Hello, I'm centered with Flexbox!
</div>Here is the entire CSS rule that's styling that markup:
.CenterMe { background-color: indigo; color: #ebebeb; font-family: 'Oswald', sans-serif; font-size: ...Read now
Unlock full access