<div class="folder">
  <div class="folder_back">
    <div class="paper"></div>
    <div class="paper"></div>
    <div class="paper"></div>
    <div class="folder_front"></div>
    <div class="folder_front right"></div>
  </div>
</div>
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  width: 100%;
  height: 100vh;
  background: #f1f2f6;
  display: flex;
  justify-content: center;
  align-items: center;
}
/*the container */
.folder {
  /*border: 2px solid red;*/
  transition: all 0.2s ease-in;
}
/* the back*/
.folder_back {
  position: relative;
  width: 100px;
  height: 80px;
  background: #4786ff;
  border-radius: 0 5px 5px 5px;
}
/* the small box */
.folder_back::after {
  content: "";
  width: 30px;
  height: 10px;
  background: #4786ff;
  position: absolute;
  bottom: 98%;
  left: 0;
  border-radius: 5px 5px 0 0;
}
/*the files or papers */
.folder_back .paper {
  width: 70%;
  height: 80%;
  background: #e6e6e6;
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, 10%);
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}
.folder_back .paper:nth-child(2) {
  background: #f2f2f2;
  width: 80%;
  height: 70%;
}
.folder_back .paper:nth-child(3) {
  background: white;
  width: 90%;
  height: 60%;
}
/*the curtain*/
.folder_back .folder_front {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #70a1ff;
  border-radius: 5px;
  transform-origin: bottom;
  transition: all 0.3s ease-in-out;
  /* opacity: 0.3;*/ /*demo only*/
}
/* on hover move the files/papers a little to top */
.folder:hover {
  transform: translateY(-8px);
}
.folder:hover .paper {
  transform: translate(-50%, 0%);
}
/*the left curtain*/
.folder:hover .folder_front {
  transform: skew(15deg) scaleY(0.6);
}
/* the right curtain*/
.folder:hover .right {
  transform: skew(-15deg) scaleY(0.6);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.