<ul class="flex-container">
  <li class="flex-item">Footer Area 1</li>
  <li class="flex-item">Footer Area 2</li>
  <li class="flex-item three">Footer Area 3</li>
  <li class="flex-item">Footer Area 4</li>
</ul>
@import "compass/css3";

.flex-container {
	padding: 0;
	margin: 0;
	list-style: none;
	
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex: 1 1 100%;
	flex-wrap: wrap;
	
	-webkit-flex-flow: row wrap;
	justify-content: space-between;
	padding: 0 20px;
}

.flex-item {
	background: #0ebeff;
	padding: 5px 10px;
	width: auto;
	height: 150px;
	margin-top: 10px;
	
	line-height: 150px;
	color: white;
	font-weight: bold;
	font-size: 20px;
	order: 1;
	text-align: center;
	
	&.three {
		order: 0;
	}
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js