CodePen

HTML

            
              <ul class="container">
  <li>
    <h1>Title</h1>
    <p>This is content</p>    
    <h1>Title</h1>
    <p>This is content</p>
  </li>
  <li>This is content</li>
  <li>This is content</li>
  <li></li></ul>
            
          
!

CSS

            
              .container {
  height: auto;
  min-height: 125px;
  text-align: justify;
  font-size: 1em;
  min-width: 812px;
  width: 80%;
  margin: 20px auto;
  border: 10px solid #edf8fd;
  padding: 0;
  background: #edf8fd;
  box-sizing:border-box;
  -moz-box-sizing:border-box; /* Firefox */
  -webkit-box-sizing:border-box; /* Safari */
  box-shadow: 0 0 10px rgba(0,0,0,.5);
}
.container li {
  width: 190px;
  min-height: 125px;
  display: inline-block;
  background: #c0dfec;
  vertical-align: top;
  text-align: left;
  border: 3px solid #8eb0be;
  border-bottom-width: 13px;
  box-sizing:border-box;
  -moz-box-sizing:border-box; /* Firefox */
  -webkit-box-sizing:border-box; /* Safari */
  padding: 5px;
}
.container:after {
  content: '';
  width: 100%;
  display: inline-block;
}

p, ul, li, a, h1, h2{
  font-family: 'helvetica neue', 'helvetica', 'pt sans', 'arial', sans-serif;
  font-weight: 300;
}
  

html, body{
  height: auto;
  min-height: 100%;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................