<section class="content">
  
  <a href="#openModal">
    <figure>
      <img src="https://placekitten.com/289/220" />
      <figcaption>
        Click the photo to load cute kitty!
      </figcaption>
    </figure>
  </a>  
  
  <p>
    Etiam ultrices, augue in eleifend commodo, ex mi vulputate massa, ut convallis elit mi at quam. Etiam aliquet non massa in auctor. Nunc sagittis ac felis sit amet cursus. Suspendisse dictum, purus in accumsan rutrum, nibh urna gravida purus, sit amet aliquam eros est eu ex. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam efficitur mauris leo, at consectetur magna malesuada vitae. Morbi consectetur eget ipsum vitae cursus. Praesent lacinia ultricies tempor. Quisque dictum feugiat est, in gravida tortor tincidunt sed. Aliquam erat volutpat. Etiam dictum suscipit dolor. Nam dictum cursus diam non suscipit.
  </p>
  <p>
    Donec velit sapien, finibus quis purus nec, ullamcorper dictum enim. Integer vitae ullamcorper enim. Aenean commodo lorem et augue accumsan tincidunt. Pellentesque sapien justo, feugiat in diam vitae, efficitur vehicula ligula. Morbi in tellus ut mauris pulvinar lacinia. Curabitur ac maximus lacus, ut lacinia nunc. Nunc pharetra nibh vitae nunc ornare, sed tincidunt neque aliquet. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aliquam efficitur ut turpis sed porta. Duis commodo tincidunt ipsum, sit amet egestas dolor bibendum vel. Integer nec magna turpis. Curabitur aliquet lobortis odio, nec facilisis ipsum.
  </p>
  <p>
    Donec scelerisque aliquet tristique. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean dictum urna id placerat sagittis. Vestibulum et interdum urna, pulvinar volutpat eros. Fusce consequat rhoncus nisl, vel malesuada nulla lacinia sit amet. Nulla in aliquet magna, eu malesuada orci. Nullam ligula lacus, sollicitudin ac metus a, condimentum efficitur ligula. Aliquam posuere, magna eget fringilla ornare, purus tortor ullamcorper eros, ut fringilla justo dolor eu est. Fusce sagittis lacus et finibus tincidunt. 
  </p>
  <p>
       Aenean et egestas erat. Nullam aliquam tortor quis nulla feugiat, ac aliquet neque euismod. Aenean auctor risus sed nibh feugiat, vel volutpat elit finibus. Vestibulum vulputate leo vel ex porttitor, at sodales purus mattis. Suspendisse vulputate nisl id erat ultricies, commodo tempor lectus mattis. Sed turpis tortor, tincidunt quis viverra in, laoreet at diam. Donec varius turpis nisi, vitae blandit felis gravida eget. Aenean vitae molestie leo. In sapien mi, ultrices a arcu in, sodales lobortis elit. Pellentesque sit amet nibh at ex iaculis venenatis. Quisque sed orci vel lorem congue sodales.
  </p>
  
  <!-- Modal -->  
  <div id="openModal" class="modal">
    <div class="modal__content">
      <a href="#" class="close">+</a>
      <b>MEOW MEOW MEOW</b>
      <img src="https://www.dropbox.com/s/mqapcs2hsf7k4yp/cat-expressions_03.png?dl=1" />
    </div>
  </div>
  
</section>

<div class="side-tab">
  Send Feedback
</div>
$bodyBg: #030018;
$purple: #292477;
$green: #13693B;
$magenta: #AD2266;
$blue: #1a28b3;

html {
  box-sizing: border-box;
  font-size: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  position: relative;  
  background: #cecece;
  color: $bodyBg;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.5rem;
}

a, a:visited {
  text-decoration: none;
}

h1, h2 {
  margin: 0 0 30px;
}

.content {
  position: relative;
  z-index: 1;
  padding: 30px;
  
  figure {
    float: left;
    margin: 10px 20px 10px 0;
    
    img {
      margin: 0;
    }
    
    figcaption {
      font-size: 0.9rem;
      text-align: center;
      background-color: #333333;
      color: #ffffff;
      margin-top: -6px;
      padding: 8px;
    }
  }  
}

.modal { // background overlay
  display: none;  
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0,0,0,0.2);  
  transition: opacity 300ms ease-in-out;
  
  &:target {
    display: block;
  }
  
  &__content { // modal content
    position: absolute;
    width: 100%;
    max-width: 240px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    top: 45%;
    left: 50%;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    transform: translateX(-50%) translateY(-50%);
    pointer-events: auto;
  }
  
  img {
    width: 140px;
  }
  
  .close {
    display: block;
    position: absolute;
    top: -26px;
    right: 3px;
    padding: 40px 5px;
    font-size: 60px;
    line-height: 23px;
    color: rgba(0,0,0,0.75);
    transform: rotate(45deg);
    cursor: pointer;
    transition: all 50ms ease-in-out;
    
    &:hover {
      color: rgba(0,0,0,0.25);
    }
  }
}

.side-tab {
  position: fixed;
  z-index: 5;
  bottom: 20%;
  right: -71px;
  padding: 15px 30px;
  border-radius: 10px 10px 0 0;
  background-color: $magenta;  
  color: #ffffff;
  transform: rotate(-90deg);
  box-shadow: 0 -3px 7px rgba(0,0,0,0.3);
}
View Compiled

External CSS

  1. https://fonts.googleapis.com/css?family=Roboto:400,700

External JavaScript

This Pen doesn't use any external JavaScript resources.