<div class="wrap">
  <h1>Collapsible drawers</h1>
  <div class="collapse">
    <h2>I Expand</h2>
    We live in a society exquisitely dependent on science and technology, in which hardly anyone knows anything about science and technology.
    <b>Carl Sagan</b>
    <p>This box expands and casts a shadow</p>
  </div>
  <div class="collapse slide">
    <h2>I Slide</h2>
    Imagination will often carry us to worlds that never were. But without it we go nowhere.
    <b>Carl Sagan</b>
    <p>This one just slides down</p>
  </div>
  <div class="collapse transparent">
    <h2>I am transparent</h2>
    The brain is like a muscle. When it is in use we feel very good. Understanding is joyous.
    <b>Carl Sagan</b> 
    <p>This one keeps the transparency</p>
  </div>
</div> 

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
//Скрипт js надо подключать здесь
//Автор: Stephen Scaff. @StephenScaff
@import url(https://fonts.googleapis.com/css?family=Roboto);
html{ height:100%}
body{
  font-family: 'Roboto', sans-serif;
  font-size:15px;
  background:url(https://unsplash.imgix.net/40/OTwgwURiQN6DLk8zIr8E_DSC00953.jpg?q=75&w=1080&h=1080&fit=max&fm=jpg&auto=format&s=408af6f15369c9d232097a79ff997fa7) center no-repeat;
background-size:cover  
}
h1{
  color:#fff;
  text-align:center
}
.wrap{
  width:80%;
  margin:0 auto;
}
.collapse {
  background-color: rgba(255,255,255,0);
  border-bottom: 1px solid #eee;
  cursor: pointer;
  color: #fff;
  padding: 10px;
  margin:0px;
  max-height:40px;
  overflow:hidden;
  transition: all 0.4s;
}
.collapse * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.collapse.active {
   background-color: rgba(255,255,255,0.9);
  box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2);
  z-index: 200;
  color:#444;
  max-height:3000px;
  padding:10px 20px;
  margin: 10px -10px;
  transition: all 0.2s,max-height 4.8s;
}
.collapse h2 {
  font-size: 18px;
  line-height: 20px;
  position:relative
}
.slide{
  box-shadow:none !important;
  margin:0px !important;
  padding:10px !important
}
.transparent{
  background-color: rgba(255,255,255,0) !important;
  color:#fff !important;
  box-shadow:none !important;
  margin:0px !important;
  padding:10px !important
}
.collapse h2::after{
  content: "+";
  text-align:center;
  position:absolute;
  width:15px;
  height:15px;
  border:1px solid #ccc;
  border-radius:50%;
  font-size:12px;
  line-height:15px;
  opacity:0.5;
  right:0;
  top:0;
}
.collapse:hover h2::after{
  opacity:1
}

.collapse.active h2::after{
  content: "-";
}
$('.collapse').on('click',function(e){
  e.preventDefault();
  $(this).toggleClass('active');
});