Bottom Nav

by Keith Jeter

HTML

<header class="header-base">
     <h1>CSS Slide Nav</h1>

</header>
<div class="page">
    <input type="radio" name="nav" class="hide-radio" id="first" checked />
    <input type="radio" name="nav" class="hide-radio" id="second" />
    <input type="radio" name="nav" class="hide-radio" id="third" />
    <nav class="nav-main" role="navigation">
        <ul class="nav-list">
            <li>
                <label for="first" class="nav-item first"> <span class="label-text">First</span>

                </label>
            </li>
            <li>
                <label for="second" class="nav-item second"> <span class="label-text">Second</span>

                </label>
            </li>
            <li>
                <label for="third" class="nav-item third"> <span class="label-text">Third</span>

                </label>
            </li>
        </ul>
    </nav>
    <div class="one slide">
        <div class="content">
             <h1>Page 1</h1>

            <p>Bacon ipsum dolor sit amet laborum biltong meatball, flank minim anim ground round qui drumstick sint pork chop filet mignon fatback bacon. Biltong consequat sausage aliquip minim. Meatloaf do exercitation in, non ullamco proident irure. Ribeye deserunt velit officia. Labore jerky mollit voluptate.</p>
            <p>Excepteur adipisicing tongue, sirloin occaecat anim esse kevin. Biltong cillum flank voluptate, short loin swine veniam proident sunt ut ad nulla. Shank sirloin enim nulla. Jowl sed turducken, filet mignon ut shankle nostrud. In adipisicing in ham cillum, est tongue aliquip ullamco ut brisket ut bacon. Occaecat qui ad turducken. Consequat jowl sunt nostrud dolor meatball minim corned beef.</p>
        </div>
    </div>
    <div class="two slide">
        <div class="content">
             <h2>Page 2</h2>

            <p>Bacon ipsum dolor sit amet laborum biltong meatball, flank minim anim ground round qui drumstick sint pork chop filet mignon fatback bacon. Biltong consequat sausage...

CSS

@import url(http://fonts.googleapis.com/css?family=Open+Sans);
 *, *:after, *:before {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}
html, body {
    height: 100%;
}
body {
    background: #dedede;
    color: #02303F;
    font: normal 1em/1.5"Open Sans";
    margin: 0;
    padding: 0;
    /*text-shadow: 0 1px rgba(255, 255, 255, .65);*/
}
a {
    color: #444;
}
.page {
    height: 100%;
    position: relative;
    overflow: hidden;
}
.header-base {
    background: #fff;
    border-bottom: 1px solid #aaa;
    height: 90px;
    left: 0;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 3
}
/*
  *************************************************************
*  Navigation
  *************************************************************
*/
 .hide-radio {
    left: -99999px;
    position: absolute;
    visibility: hidden;
}
.nav-main {
    bottom: 0;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 6;
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list li {
    float: left;
    color: #fff;
    height: 40px;
    padding: 10px 10px 0;
    position: relative;
    width: 33.3333%;
}
.nav-item {
    background: #fff;
    bottom: 0;
    cursor: pointer;
    left: 0;
    height: 36%;
    padding-top: 20px;
    position: absolute;
    transition: all 0.3s linear;
    width: 100%;
}
.label-text {
    left: 5px;
    position: absolute;
    top: 2px;
}
#first:checked ~ .nav-main .first, #second:checked ~ .nav-main .second, #third:checked ~ .nav-main .third {
    height: 100%;
   /* text-shadow: 0 0 1px rgba(255, 255, 255, .7);*/
}
#first:checked ~ .nav-main .first {
    background: #0144af;
}
#second:checked ~ .nav-main .second {
    background: #0144af;
}
#third:checked ~ .nav-main .third {
    background: #0144af;
}
/* end nav items */
 .slide {
    background: #ccc;
    height: calc(100% - 90px);
    margin-top: 90px;
    padding: 40px;
   ...