LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code

Flexbox Off Canvas Menu

Lightweight, simple, easy to use

Banh mi street art organic, bicycle rights synth YOLO Neutra. Try-hard cliche vegan mlkshk actually. Godard pour-over locavore tousled synth, try-hard Portland single-origin coffee church-key gluten-free 90's blog. Cliche blog tote bag, literally Banksy viral biodiesel Portland High Life. Marfa Neutra selvage, photo booth tilde whatever 8-bit pork belly irony post-ironic forage slow-carb. Pickled chia wayfarers, gentrify letterpress gastropub food truck seitan meditation trust fund cliche biodiesel sartorial. Tousled skateboard Thundercats, mumblecore jean shorts 90's flexitarian deep v gentrify.

Banh mi street art organic, bicycle rights synth YOLO Neutra. Try-hard cliche vegan mlkshk actually. Godard pour-over locavore tousled synth, try-hard Portland single-origin coffee church-key gluten-free 90's blog. Cliche blog tote bag, literally Banksy viral biodiesel Portland High Life. Marfa Neutra selvage, photo booth tilde whatever 8-bit pork belly irony post-ironic forage slow-carb. Pickled chia wayfarers, gentrify letterpress gastropub food truck seitan meditation trust fund cliche biodiesel sartorial. Tousled skateboard Thundercats, mumblecore jean shorts 90's flexitarian deep v gentrify.


CSS
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');
@import url('https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css');
html,
body {
  height: 100%;
}
body {
  font: 12px/1 'Montserrat', sans-serif;
  color: #333;
  background: #333;
  overflow-x: hidden;
}
.wrapper {
  display: -webkit-flex;
  display: flex;
  min-height: 100%;
}
.sidebar {
  position: absolute;
  width: 220px;
}
.content {
  -webkit-flex: 1;
  flex: 1;
  padding: 30px;
  background: #eee;
  box-shadow: 0 0 5px #000000;
  transform: translate3d(0, 0, 0);
  transition: all .3s;
}
.content.content-is-open {
  margin-left: 220px;
}
.side-panel-toggle {
  cursor: pointer;
  font-size: 42px;
}
/* Demo Navigation */
.title {
  font-size: 16px;
  line-height: 50px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 7px;
  color: #eee;
  border-bottom: 1px solid #222;
  background: #2a2a2a;
}
.nav li a {
  position: relative;
  display: block;
  padding: 15px 15px 15px 50px;
  font-size: 12px;
  color: #eee;
  border-bottom: 1px solid #222;
}
.nav li a:before {
  font: 14px fontawesome;
  position: absolute;
  top: 14px;
  left: 20px;
}
.nav li:nth-child(1) a:before {
  content: '\f00a';
}
.nav li:nth-child(2) a:before {
  content: '\f012';
}
.nav li:nth-child(3) a:before {
  content: '\f0e8';
}
.nav li:nth-child(4) a:before {
  content: '\f0c3';
}
.nav li:nth-child(5) a:before {
  content: '\f022';
}
.nav li:nth-child(6) a:before {
  content: '\f115';
}
.nav li:nth-child(7) a:before {
  content: '\f085';
}
.nav li:nth-child(8) a:before {
  content: '\f023';
  left: 23px;
}
.nav li a:hover {
  background: #444;
}
.nav li a.active {
  box-shadow: inset 5px 0 0 #5b5, inset 6px 0 0 #222;
  background: #444;
}
/* Demo Description */
h1 {
  margin: 25px 0 15px;
  font-size: 28px;
  font-weight: 400;
}
h2 {
  font-size: 18px;
  font-weight: 400;
  color: #999;
}
JS
$(document).ready(function() {
  $('.side-panel-toggle').on('click', function() {
    $('.content').toggleClass('content-is-open');
  });
});
Term
Tue, 11/28/2017 - 13:42

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv