<input type="checkbox" id="tog" checked>
<label for="tog" id="ham">

    <li><a href="#">Home</a></li>
    <li><a href="#">Movies</a></li>
    <li><a href="#">Anime</a></li>
    <li><a href="#">Breaking Bad</a></li>
    <li><a href="#">Better Call Saul</a></li>

<div id="content">
  <h1>CSS Slide In Menu</h1>
  <p>Click the burger button on the top left</p>
body {
  background: darkred;
  font-family: Electrolize, sans-serif;
  color: #fff;
  text-align: center;
  font-size: 20px;
  padding-top: 60px;
p {line-height: 1.8}
h1 {font-size: 2em;line-height:2}
#tog {display: none}

#ham {
  background: crimson;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-sizing: border-box;
  padding: 38px 20px 0 34px;
  display: block;
  cursor: pointer;
  position: fixed;
  left: -3vw;
  top: -4%;
  border: 6px solid #000;
  z-index: 500;
  opacity: .9;
  transition: opacity .3s;

#ham:hover {opacity:1}

#ham span {
  display: block;
  background: #fff;
  width: 100%;
  height: 2px;
  margin-bottom: 3px;
  transition: transform .3s;

#tog:checked ~ nav {transform: rotate(-20deg)}
#tog:checked ~ #ham span {transform: rotate(-90deg)}

nav {
  background: crimson;
  position: fixed;
  top: 0;
  transform: translateX(-278px);
  width: 278px;
  height: 830px;
  padding-top: 115px;
  margin-top: -10px;
  box-sizing: border-box;
  transition: transform .3s, left .3s;
  overflow: hidden;

nav a {
  text-decoration: none;
  color: lightsalmon;
  display: block;
  text-align: center;
  padding: 20px;
  width: 95%;
  border-bottom: 1px solid indianred;
  transition: background .3s;
  transform: rotate(20deg);
  position: relative;
nav li:last-child a {border-bottom: none}

nav a:hover {background: darkred}

/* Fix for older browsers */
nav a:hover:before {background: darkred}
nav a:before {
  content: '';
  background: crimson;
  width: 22px;
  height: 58px;
  position: absolute;
  left: -7%;
  top: 0px;
  transition: background .3s;

External CSS

  1. https://fonts.googleapis.com/css?family=Electrolize

External JavaScript

This Pen doesn't use any external JavaScript resources.