.gradientBoxes { 
height: auto;
width: 100%; 
padding: 20px;
background-color: white; 
color: #000;
/* outer shadows  (note the rgba is red, green, blue, alpha) */
-webkit-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.4); 
-moz-box-shadow: 0px 1px 6px rgba(23, 69, 88, .5);

/* rounded corners */
-webkit-border-radius: 12px;
-moz-border-radius: 7px; 
border-radius: 7px;

/* gradients */
background: -webkit-gradient(linear, left top, left bottom, 
color-stop(0%, white), color-stop(15%, white), color-stop(100%, #D7E9F5)); 
background: -moz-linear-gradient(top, white 0%, white 55%, #D5E4F3 130%); 
}

.gradientBoxes ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.gradientBoxes ul:after { /* to clearfix your ul list */
  content: "";
  display: table;
  clear: both;
  margin-bottom: 10px;
}
.gradientBoxes ul li {
  display: inline-block; /* inline-block have an extra 4px margin wich makes it harder to use in this situation */
  width: 20%;
  border: 1px solid #000;
  margin: 8px;
  padding: 10px 5px;
  float: left; /* if you use block elements you have to float them */
  text-align: center;
}
.gradientBoxes figure {
  margin: 0; /* to normalize figure element */
}
.gradientBoxes figure img {
  max-width: 100px;
  max-height: 100px;
}