<div class="growl flipIn">
  <span>Fablinix</span>
  <p>Maecenas faucibus mollis interdum. Cras mattis consectetur purus sit amet fermentum.</p>
  <a href="#" class="close"></a>
  <div class="logo"></div>
</div>
@import "nib"

html {
  background-image: url("http://fc04.deviantart.net/fs70/f/2011/244/8/f/be_windows_8_screenshot_by_onlyk2-d48izp0.jpg");
  }

.growl {
  position: fixed;
  right: 0;
  bottom: 0;
  margin: 60px 10px;
  width: 380px;
  height: 76px;
  padding: 10px;
  line-height: 18px;
  font-size: 12px;
  background-color: white;
  background-clip: padding-box;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: .2s background-color;
  animation-fill-mode: both;
  
  &:hover {
    .close {
      opacity: .5;
      transition: .2s opacity;
    }
  }
  
  span {
    margin: 0;
    font-size: 16px;
    line-height: 1.8em;
    font-weight: 600;
    color: #738bd7;
    letter-spacing: 0.02em;
  }
  
  p {
    margin: 0;
    color: #737f8d;
    text-size: 12px;
    line-height: 1.25em;
  }
  
  .close {
    position: absolute;
    opacity: 0;
    width: 10px;
    height: @width;
    right: 6px;
    top: 6px;
    background: url("https://discordapp.com/assets/14f734d6803726c94b970c3ed80c0864.svg");
    background-size: @width;
    transition: .2s opacity;

    &:hover {
      opacity: 1;
    }
  }
  
  &:before {
    content: '';
    float: left;
    width: 96px;
    height: @width;
    background: url("http://vignette3.wikia.nocookie.net/ffxi/images/a/a7/Trust_Fablinix.png/revision/latest?cb=20140517060957") center;
    background-size: 100%;
    margin: -10px 10px -10px -10px;
  }
  
  .logo {
    width: 22px;
    height: 24px;
    background-image: url("https://discordapp.com/assets/9cb691623c7ba013e791aad8845e93cb.svg")
    absolute: bottom 0, right 0;
    margin: 0 12px 10px 0;
  }
}

@keyframes flipIn {
  0% {transform: perspective(400px) rotate3d(1, 0, 0, 90deg);transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transition-timing-function: ease-in;
  }

  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  100% {
    transform: perspective(400px);
  }
}

.flipIn {
  backface-visibility: visible !important;
  animation-name: flipIn;
  animation-duration: .7s;
}

@keyframes flipOut {
  0% {
    transform: perspective(400px);
  }

  30% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }

  100% {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

.flipOut {
   animation-name: flipOut;
   backface-visibility: visible !important;
   animation-duration: .33s;
}
View Compiled
$('.close').click(function(){
    $('.growl').addClass('flipOut');
    $('.growl').removeClass('flipIn');
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. //cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js