Tutorials

Please excuse us, we are still working on this section as part of our new design. It will be up soon so please check back later!

Recent Posts

CSS3 Flexible Box (aka flexbox) FTW

If you’re into UI design, or have at least dabbled with it in the past, chances are you’ve run into a situation where you have been frustrated with trying to make a number of elements float next to each other (with various widths) spanning across the entirety of a fixed area.

For example: I have a horizontal navigation with the following links:
Home | About Us | Our Services | Gallery | Contact

Not a big deal right? Well, what if I wanted them to stretch evenly across 960px, and I didn’t want to do a ton of math to figure out what the width would be for each of them individually? This sounds like a nightmare already, but what if I faced my fears and I decide to take it a step further by using something silly like padding or a border on them as well? As Smashing Magazine has said: “PERCENTAGE + PADDING + BORDER = TROUBLE.”

Well, At this point in the past, chances are I would have abandoned the idea completely but because of the lovely flexbox I don’t have to! Check out a few of my examples below as well as the more detailed article: CSS3 Flexible Box Layout Explained from Smashing Magazine for more information.

Example 01: Navigation
Example 02: Newspaper


  1. Boombot is not your grandma’s turntable bot 2 Replies
  2. I just backed Gizmachi and you should too Leave a reply
  3. The difference between HTML5 section and article Leave a reply
  4. Sublime Text 2 is probably your favorite text editor. Leave a reply
  5. Dark themed CSS search and navigation Leave a reply
  6. CSS Arrow Nav Demo Leave a reply
  7. Imageless CSS Star Rating with Javascript Leave a reply