Edit in JSFiddle

@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;
  
  -webkit-flex-flow: row wrap;
  justify-content: space-around;
}

.flex-item {
  background-color:#05195C;
  padding: 5px;
  width: 150px;
  height: 115px;
  margin-top: 10px;
  
  line-height: 100px;
  color: #DEDEDE;
  font-weight: bold;
  font-size: 3em;
  text-align: center;
}