<section class="column">
	<div class="item"></div>
	<div class="item"></div>
	<div class="item"></div>
</section>

<section class="row">
	<div class="item"></div>
	<div class="item"></div>
	<div class="item"></div>
</section>









[[[https://codepen.io/jackharner/pen/drONOG.html]]]
section {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	border: 1px solid #aaa;
	height: calc(50vh - 4px);
} 

.item {
	width: 100px;
	height: 100px;
	background: #333;
	border: 2px solid #fff;
}

.column {
	flex-direction: column;
}
.row {
	flex-direction: row;
}

body {
	margin: 0;
}
View Compiled
jackHarnerSig(true);

External CSS

  1. https://codepen.io/jackharner/pen/drONOG.css

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenMax.min.js
  2. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
  3. https://codepen.io/jackharner/pen/drONOG.js