<div class="content">
  <span>Content</span>
</div>
<div class="footer-container">
  <div class="pre-footer">
    <ul class="footer-menu">
      <li>
        <h3>Category One</h3>
        <ul>
          <li><a href="#">Link One</a></li>
          <li><a href="#">Link Two</a></li>
          <li><a href="#">Link Three</a></li>
          <li><a href="#">Link Four</a></li>
        </ul>
      </li>
      <li>
        <h3>Category Two</h3>
        <ul>
          <li><a href="#">Link One</a></li>
          <li><a href="#">Link Two</a></li>
          <li><a href="#">Link Three</a></li>
          <li><a href="#">Link Four</a></li>
        </ul>        
      </li>
      <li>
        <h3>Category Three</h3>
        <ul>
          <li><a href="#">Link One</a></li>
          <li><a href="#">Link Two</a></li>
          <li><a href="#">Link Three</a></li>
          <li><a href="#">Link Four</a></li>
        </ul>        
      </li>
      <li>
        <h3>Category Four</h3>
        <ul>
          <li><a href="#">Link One</a></li>
          <li><a href="#">Link Two</a></li>
          <li><a href="#">Link Three</a></li>
          <li><a href="#">Link Four</a></li>
        </ul>        
      </li>
    </ul>
  </div>
  <div class="footer">
    <div class="inner">
      <span>Footer</span>
    </div>
  </div>
</div>
@import "compass/css3";

$bg-color: #f4efeb;
$main-color: #9a2853;
$secondary-color: #3f3f3f;
$border-color: #ccc;
$global-text-color: #000;

// ICON FONTS
@import url(http://weloveiconfonts.com/api/?family=fontawesome);

// TOOLS
@mixin clear {
	zoom: 1;
	&:before, &:after { content: ""; display: table; }
	&:after { clear: both; }
}

// GENERAL STYLE
* {
  margin:0;
  padding:0;
  @include box-sizing(border-box);
}

body {
  background: $bg-color;
  font: 14px Candara, Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif;
  color: $global-text-color;
}

a {
  color: $main-color;
  &:hover {
    text-decoration: none;
    color: lighten($main-color,20);
  }
}

.content {
  width: 80%;
  height: 75vh;
  margin: 0 auto 5vh;
  background: darken($bg-color,10);
  border: 4px solid $border-color;
  position: relative;
  
  span {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2em;
    @include transform(translate(-50%, -50%));
  }
}




// FOOTER STYLE
.footer-container {
  position: relative;
}
.footer {
  background: $main-color;
  position: relative;
  
  .inner {
    width: 80%;
    height: 20vh;
    margin: 0 auto;
    position: relative;
    
    span {
      position: absolute;
      top: 50%;
      left: 50%;
      font-size: 1.8em;
      color: lighten($global-text-color,60);
      @include transform(translate(-50%, -50%));      
    }
  }
}

// SLIDING FOOTER STYLE
.pre-footer {
  background: $secondary-color;
  position: absolute;
  top: -40px;
  height: 120px;
  width: 100%;
}

.footer-menu {
  width: 80%;
  margin: 0 auto;
  @include clear;
  > li {
    display: block;
    float: left;
    width: 25%;
    text-align: center;
  }
  
  h3 {
    height: 40px;
    line-height: 40px;
    font-size: 1.3em;
    font-weight: 700;
    color: lighten($global-text-color,80);
  }
}
View Compiled
$(document).ready(function(){
  
  $('.pre-footer').hover(function(){
    showPreFooter();
  },function(){
    hidePreFooter();
  })
  
});

function showPreFooter(){
  var preFooter=$('.pre-footer');
  var preFooterHeight=preFooter.innerHeight();

  preFooter.stop().animate({top:"-"+preFooterHeight+'px'},500,'swing');
}
function hidePreFooter(){
  var preFooter=$('.pre-footer');
  preFooter.stop().animate({top:"-40px"},500,'swing');
}

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