<div class="container">
  <div class="item">CSS</div>
  <div class="item">Hello CSS!</div>
  <div class="item">I lover CSS, CSS is awesome!</div>
  <div class="item">CSS is awesome! CSS is simple, but she is not easy!</div>
</div>
@import url("https://fonts.googleapis.com/css?family=Gochi+Hand");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background-color: #291642;
  font-family: "Gochi Hand", sans-serif;
  color: #fff;
  font-size: 130%;
  letter-spacing: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100vw;
  min-height: 100vh;
  padding: 10px;
}
.container {
  width: 80vw;
  height: 80vh;
  border:4px solid #f36;
  box-shadow: 1px 1px 4px 2px rgba(0,0,0,.5);
  display: flex;
  align-items: stretch;
}

.item {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0,0,0,.5);
  font-size: 6vh;
  padding: 3vh;
  // width: 10vw;
}

.item:nth-child(1){
  background-color: #f89;
}
.item:nth-child(2){
  background-color: #90f;
}
.item:nth-child(3){
  background-color: #20c0a9;
}
.item:nth-child(4){
  background-color: #8ac020;
}

View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.