<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html><html class=''>
<head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/DaN7L/pen/zGKzQg?depth=everything&order=popularity&page=38&q=movie&show_forks=false" />
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css'><script src='https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js'></script>
<style class="cp-pen-styles">@import url(https://fonts.googleapis.com/css?family=Open+Sans:600,300,100|Open+Sans+Condensed:300);
@import url(https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css);
.container {
width: 75%;
margin: 5em auto;
}
.mix {
display: none;
text-align: center;
width: 23%;
margin: 1em 1%;
background-color: #ccc;
}
.blue {
background-color: blue;
color: white;
}
.orange {
background-color: orange;
}
.red {
background-color: red;
color: white;
}
button {
background: #F25F5C;
border: none;
color: white;
padding: .65em;
width: 100%;
margin: 1px 0;
}
input {
padding: .5em;
}
.title {
font-weight: 2em;
}
body {
background: #FFF linear-gradient(to bottom, #3F567C, #B5CCC6) no-repeat;
font-family: Open Sans, sans-serif;
}
a {
text-decoration: none;
transition-duration: .3s;
}
a:hover {
transition-duration: .05s;
}
.window-margin {
max-width: 1200px;
padding: 60px;
margin: auto;
}
.window {
margin: auto;
border-radius: 5px;
background: #FFF;
overflow: hidden;
position: relative;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.window .sidebar .top-bar,
.window .main .top-bar {
height: 65px;
color: #FFF;
}
.window .sidebar {
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 250px;
background: #24282C;
transition-duration: .3s;
color: #DDD;
}
.window .sidebar .top-bar {
background: #F25F5C;
overflow: hidden;
}
.window .sidebar .top-bar .logo {
float: left;
font-family: Open Sans Condensed, sans-serif;
font-size: 40px;
line-height: 65px;
margin-left: 20px;
}
.window .sidebar .search-box {
background: #373D41;
padding: 20px;
position: relative;
}
.window .sidebar .search-box input {
width: 170px;
border: 0;
padding: 10px 20px;
border-radius: 50px;
outline: none;
color: #999;
transition-duration: .3s;
}
.window .sidebar .search-box input:focus {
color: #333;
}
.window .sidebar .search-box input:focus ~ .fa {
color: #999;
}
.window .sidebar .search-box .fa {
position: absolute;
top: 31px;
right: 35px;
color: #CCC;
transition-duration: .3s;
cursor: pointer;
}
.window .sidebar .menu {
padding-top: 20px;
}
.window .sidebar .menu .separator {
border-top: 1px solid #111111;
border-bottom: 1px solid #353535;
margin: 20px;
}
.window .sidebar .menu a {
color: #DDD;
text-decoration: none;
}
.window .sidebar .menu a:hover {
color: #FFF;
}
.window .sidebar .menu .menu-name {
text-transform: uppercase;
padding: 0 20px;
font-size: 14px;
margin-bottom: 10px;
}
.window .sidebar .menu > ul.no-bullets > li a:before {
content: none !important;
}
.window .sidebar .menu > ul > li {
list-style: none;
}
.window .sidebar .menu > ul > li > a {
position: relative;
top: -3px;
font-size: 14px;
padding: 8px 25px;
display: block;
font-weight: bold;
}
.window .sidebar .menu > ul > li > a:before {
content: '';
height: 9px;
width: 9px;
border-radius: 50px;
display: inline-block;
margin-right: 10px;
box-shadow: inset 0 0 0 1px #EEE;
}
.window .sidebar .menu > ul > li.active {
list-style-type: disc;
color: #FF3A3A;
padding-bottom: 10px;
}
.window .sidebar .menu > ul > li.active > a {
padding-bottom: 0;
}
.window .sidebar .menu > ul > li.active > a:before {
background: #FF3A3A;
box-shadow: none;
}
.window .sidebar .menu > ul > li.active ul {
display: block;
margin-left: 50px;
margin-top: 5px;
}
.window .sidebar .menu > ul > li.active ul li.active a {
color: #FFF;
font-weight: bold;
}
.window .sidebar .menu > ul > li.active ul li a {
padding: 5px;
display: block;
font-size: 13px;
color: #888;
}
.window .sidebar .menu > ul > li.active ul li a:hover {
color: #FFF;
}
.window .sidebar .menu > ul > li ul {
display: none;
}
.window .main {
margin-left: 250px;
transition-duration: .3s;
position: relative;
}
.window .main .top-bar {
background: #f5f5f5;
}
.window .main .top-bar .top-menu {
height: 65px;
overflow: hidden;
}
.window .main .top-bar .top-menu .menu-icon {
background: #282b3b;
padding: 12px 13px 8px 23px;
margin-top: 13px;
display: none;
cursor: pointer;
transition-duration: .3s;
}
.window .main .top-bar .top-menu .menu-icon:hover {
background: #f47674;
transition-duration: .05s;
}
.window .main .top-bar .top-menu .menu-icon .line {
height: 2px;
width: 20px;
background: #FFF;
margin-bottom: 4px;
}
.window .main .top-bar .top-menu li {
float: left;
font-size: 14px;
}
.window .main .top-bar .top-menu li.active a,
.window .main .top-bar .top-menu li.active a:hover {
background: #F25F5C;
color: #FFF;
font-weight: bold;
}
.window .main .top-bar .top-menu a {
padding: 0 25px;
color: #1E202C;
line-height: 65px;
display: block;
}
.window .main .top-bar .top-menu a:hover {
color: #FFF;
background: rgba(242, 95, 92, 0.35);
}
.window .main .top-bar .profile-box {
float: right;
background: #F25F5C;
height: 65px;
line-height: 65px;
font-size: 25px;
padding: 0 20px;
cursor: pointer;
}
.window .main .top-bar .profile-box .arrow {
float: right;
position: absolute;
bottom: 1px;
left: 47%;
font-size: 12px;
}
.window .main .featured-movie {
position: relative;
}
.window .main .featured-movie .cover {
width: 100%;
display: block;
}
.window .main .featured-movie .corner-title {
position: absolute;
top: 20px;
left: 20px;
text-transform: uppercase;
color: #FFF;
background: rgba(25, 25, 25, 0.3);
padding: 10px;
font-size: 13px;
}
.window .main .featured-movie .bottom-bar {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 20px 30px;
background: rgba(10, 10, 10, 0.8);
color: #FFF;
overflow: hidden;
}
.window .main .featured-movie .bottom-bar .title-container {
float: left;
font-weight: 100;
font-size: 40px;
}
.window .main .featured-movie .bottom-bar .title-container .fa {
margin-right: 10px;
color: #FF3A3A;
}
.window .main .featured-movie .bottom-bar .title-container b {
font-weight: 600;
}
.window .main .featured-movie .bottom-bar .right {
float: right;
font-size: 14px;
margin-top: 14px;
}
.window .main .featured-movie .bottom-bar .right .stars {
float: left;
color: #F0C236;
margin-right: 20px;
}
.window .main .featured-movie .bottom-bar .right .share {
float: left;
cursor: pointer;
}
.window .main .featured-movie .bottom-bar .right .share .fa {
margin-right: 5px;
}
.window .main .movie-list .title-bar {
padding: 20px;
border-bottom: 1px solid #DDD;
overflow: hidden;
}
.window .main .movie-list .title-bar .left {
float: left;
font-size: 15px;
text-transform: uppercase;
}
.window .main .movie-list .title-bar .left .grey {
color: #999;
}
.window .main .movie-list .title-bar .left .bold {
font-weight: bold;
}
.window .main .movie-list .title-bar .left p {
display: inline-block;
margin-right: 10px;
}
.window .main .movie-list .title-bar .right {
float: right;
}
.window .main .movie-list .title-bar .right a {
color: #999;
margin-left: 10px;
}
.window .main .movie-list .title-bar .right a.blue {
color: #279CEB;
}
.window .main .movie-list .list {
margin: 20px;
margin-right: 0;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.window .main .movie-list .list li {
flex: 0 0 130px;
padding-bottom: 30px;
margin-right: 20px;
position: relative;
}
.window .main .movie-list .list li:hover:after {
opacity: 1;
}
.window .main .movie-list .list li:after {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 130px;
content: '\f001';
background: rgba(0, 0, 0, 0.3);
border-radius: 5px;
opacity: 0;
color: #FFF;
font-size: 40px;
display: block;
cursor: pointer;
line-height: 130px;
text-align: center;
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
-webkit-font-smoothing: antialiased;
}
.window .main .movie-list .list li img {
width: 130px;
height: 130px;
display: block;
margin: 0 auto 5px auto;
cursor: pointer;
}
.window .main .movie-list .list li .title,
.window .main .movie-list .list li .genre {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
cursor: pointer;
}
.window .main .movie-list .list li .title {
font-weight: bold;
font-size: 13px;
margin-bottom: 4px;
}
.window .main .movie-list .list li .genre {
color: #999;
font-size: 12px;
}
.window .main .movie-list .load-more {
background: #EEE;
padding: 15px;
margin: 20px;
border-radius: 5px;
text-align: center;
color: #666;
display: block;
}
.window .main .movie-list .load-more:hover {
background: #DDD;
}
.window .main .movie-list .load-more .fa {
margin-left: 10px;
}
@media only screen and (max-width: 1220px) {
.window > .sidebar {
transform: translateX(-250px);
}
.window > .main {
margin-left: 0;
}
.window > .main .top-bar .top-menu .menu-icon {
display: block;
}
.sidebar-is-open .window > .sidebar {
transform: translateX(0);
}
.sidebar-is-open .window > .main {
transform: translateX(250px);
}
}
@media only screen and (max-width: 960px) {
.window .main .featured-movie .bottom-bar {
position: static;
}
.window .main .featured-movie .bottom-bar .title-container {
font-size: 25px;
}
}
/* Slider */
#slider {
position: relative;
overflow: hidden;
margin: 0 auto;
}
#slider ul {
position: relative;
margin: 0;
padding: 0;
height: 200px;
list-style: none;
}
#slider ul li {
position: relative;
display: block;
float: left;
margin: 0;
padding: 0;
width: 900px;
height: 300px;
background: #247BA0;
text-align: center;
line-height: 300px;
}
a.control_prev,
a.control_next {
position: absolute;
top: 40%;
z-index: 999;
display: block;
padding: 3% 1%;
width: auto;
height: auto;
background: #FFFFFF;
color: #1E202C;
text-decoration: none;
font-weight: 600;
font-size: 18px;
opacity: 0.8;
cursor: pointer;
}
a.control_prev:hover,
a.control_next:hover {
opacity: 1;
-webkit-transition: all 0.2s ease;
}
a.control_prev {
border-radius: 0 2px 2px 0;
}
a.control_next {
right: 0;
border-radius: 2px 0 0 2px;
}
/* Config */
.modal-container {
position: relative;
z-index: 999;
}
.modal-container * {
color: #fff;
}
.modal-container .modal {
right: 0;
top: 65px;
width: 300px;
position: absolute;
background-color: #282B3B;
font-size: 16px;
box-sizing: border-box;
padding: 15px 25px;
transform-origin: center top;
transform: rotateX(-90deg);
transition: transform 0.5s;
}
.active .modal {
transform: perspective(2000px) rotateX(0deg);
}
</style></head><body>
<div class="window-margin">
<div class="window">
<aside class="sidebar">
<div class="top-bar">
<p class="logo">M C K</p>
</div>
<div class="search-box">
<input type="text" id="input" placeholder="Search..."/>
<p class="fa fa-search"></p>
</div>
<menu class="menu">
<button class="filter" data-filter="all">All</button>
<button class="filter" data-filter=".blue">Blue</button>
<button class="filter" data-filter=".orange">Orange</button>
<button class="filter" data-filter=".red">Red</button>
<br/>
<p class="menu-name">Movie trailers</p>
<ul>
<li class="active">
<a href="#">Action / Adventure</a>
<ul>
<li><a href="#">Latest</a></li>
<li class="active"><a href="#">Popular</a></li>
<li><a href="#">Coming soon</a></li>
<li><a href="#">Staff picks</a></li>
</ul>
</li>
<li><a href="#">Animation</a></li>
<li><a href="#">Comedy</a></li>
<li><a href="#">Documentaries</a></li>
<li><a href="#">Drama</a></li>
<li><a href="#">Horror</a></li>
<li><a href="#">Sci-Fi / Fantasy</a></li>
<li><a href="#">List A-Z</a></li>
</ul>
<div class="separator"></div>
<ul class="no-bullets">
<li><a href="#">Latest news</a></li>
<li><a href="#">Critic reviews</a></li>
<li><a href="#">Box office</a></li>
<li><a href="#">Top 250</a></li>
</ul>
<div class="separator"></div>
</menu>
</aside>
<div class="main" role="main">
<div class="top-bar">
<div class="profile-box modal-container modal-button">
<i class="fa fa-cogs"></i>
<span class="arrow fa fa-angle-down"></span>
<div class="modal">
<div class="slider_option">
<input type="checkbox" id="checkbox">
<label for="checkbox">Autoplay Slider</label>
</div>
</div>
</div>
<ul class="top-menu">
<li class="menu-icon trigger-sidebar-toggle">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</li>
<li><a href="#">Item 1</a></li>
<li><a href="#">Item 2</a></li>
<li class="active"><a href="#">Item 3</a></li>
<li><a href="#">Item 4</a></li>
<li><a href="#">Item 5</a></li>
</ul>
</div> <!-- top bar -->
<div class="featured-movie">
<!-- slider -->
<div id="slider" class="cover">
<a href="#" class="control_next"><i class="fa fa-chevron-right"></i></a>
<a href="#" class="control_prev"><i class="fa fa-chevron-left"></i></a>
<ul>
<li>SLIDE 1</li>
<li style="background: #F25F5C;">SLIDE 2</li>
<li>SLIDE 3</li>
<li style="background: #FFE066;">SLIDE 4</li>
</ul>
</div>
<p class="corner-title">DanielSTh</p>
<div class="bottom-bar">
<div class="title-container">
<span class="fa fa-play-circle"></span>
<b>Cover</b> Music 1
</div>
<div class="right">
<div class="stars">
<span class="fa fa-star"></span>
<span class="fa fa-star"></span>
<span class="fa fa-star"></span>
<span class="fa fa-star-half-o"></span>
<span class="fa fa-star-o"></span>
</div>
<div class="share">
<icon class="fa fa-share-square"></icon> Share
</div>
</div> <!-- right -->
</div> <!-- bottom bar -->
</div> <!-- featured -->
<div class="movie-list">
<div class="title-bar">
<div class="left">
<p class="bold">Mas Música</p>
<p class="grey">Agregador recientes</p>
</div> <!-- left -->
<div class="right">
<a href="#">Populares </a>
<a href="#">Nuevos</a>
<a href="#">Recientes</a>
</div> <!-- right -->
</div> <!-- title-bar -->
<div class="container">
<ul class="list">
<li class="mix blue">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140412_oavbye_1.png" alt="" class="cover" />
<p class="title">Sin City: A Dame To Kill For</p>
<p class="genre">Action, Crime</p>
</li>
<li class="mix red">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140329_aawn02_1.png" alt="" class="cover" />
<p class="title">Transcendence</p>
<p class="genre">Action, Drama</p>
</li>
<li class="mix orange">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140239_kyg9i7_1.png" alt="" class="cover" />
<p class="title">Need For Speed</p>
<p class="genre">Action, Crime</p>
</li>
<li class="mix blue">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140052_dq4dyx_1.png" alt="" class="cover" />
<p class="title">The Amazing Spiderman</p>
<p class="genre">Action, Adventure</p>
</li>
<li class="mix orange">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140104_tdgzka_1.png" alt="" class="cover" />
<p class="title">Pompeii</p>
<p class="genre">Action, Adventure</p>
</li>
<li class="mix red">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140248_fmufrz_1.png" alt="" class="cover" />
<p class="title">Divergent</p>
<p class="genre">Action, Sci-Fi</p>
</li>
<li class="mix blue">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140401_aewzsy_1.png" alt="" class="cover" />
<p class="title">Guardians of the Galaxy</p>
<p class="genre">Action, Adventure</p>
</li>
<li class="mix orange">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140339_wck2gw_1.png" alt="" class="cover" />
<p class="title">X-Men: Days of Fury</p>
<p class="genre">Action, Adventure</p>
</li>
<li class="mix blue">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140311_rj1det_1.png" alt="" class="cover" />
<p class="title">Captain America: The Winter Soilder</p>
<p class="genre">Action, Adventure</p>
</li>
<li class="mix red">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140248_fmufrz_1.png" alt="" class="cover" />
<p class="title">Divergent</p>
<p class="genre">Action, Sci-Fi</p>
</li>
<li class="mix blue">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140132_bcnfqk_1.png" alt="" class="cover" />
<p class="title">RoboCop (2014)</p>
<p class="genre">Action, Crime</p>
</li>
<li class="mix blue">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140329_aawn02_1.png" alt="" class="cover" />
<p class="title">Transcendence</p>
<p class="genre">Action, Drama</p>
</li>
<li class="mix red">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140239_kyg9i7_1.png" alt="" class="cover" />
<p class="title">Need For Speed</p>
<p class="genre">Action, Crime</p>
</li>
<li class="mix blue">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140104_tdgzka_1.png" alt="" class="cover" />
<p class="title">Pompeii</p>
<p class="genre">Action, Adventure</p>
</li>
<li class="mix orange">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140412_oavbye_1.png" alt="" class="cover" />
<p class="title">Sin City: A Dame To Kill For</p>
<p class="genre">Action, Crime</p>
</li>
<li class="mix red">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140339_wck2gw_1.png" alt="" class="cover" />
<p class="title">X-Men: Days of Fury</p>
<p class="genre">Action, Adventure</p>
</li>
<li class="mix blue">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140052_dq4dyx_1.png" alt="" class="cover" />
<p class="title">The Amazing Spiderman</p>
<p class="genre">Action, Adventure</p>
</li>
<li class="mix orange">
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/22043/2014-03-08_140248_fmufrz_1.png" alt="" class="cover" />
<p class="title">Divergent</p>
<p class="genre">Action, Sci-Fi</p>
</li>
</ul>
</div>
<a href="#" class="load-more">Cargar mas <span class="fa fa-plus"></span></a>
</div> <!-- movie list -->
</div> <!-- main -->
</div> <!-- window -->
</div> <!-- window margin -->
<script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script><script src='https://cdn.jsdelivr.net/jquery.mixitup/latest/jquery.mixitup.min.js'></script>
<script >jQuery(document).ready(function($) {
$('a').on('click', function(e) {
e.preventDefault();
});
$('.trigger-sidebar-toggle').on('click', function() {
$('body').toggleClass('sidebar-is-open');
});
});
// Slider
jQuery(document).ready(function ($) {
$('#checkbox').change(function(){
setInterval(function () {
moveRight();
}, 3000);
});
var slideCount = $('#slider ul li').length;
var slideWidth = $('#slider ul li').width();
var slideHeight = $('#slider ul li').height();
var sliderUlWidth = slideCount * slideWidth;
$('#slider').css({ width: slideWidth, height: slideHeight });
$('#slider ul').css({ width: sliderUlWidth, marginLeft: - slideWidth });
$('#slider ul li:last-child').prependTo('#slider ul');
function moveLeft() {
$('#slider ul').animate({
left: + slideWidth
}, 200, function () {
$('#slider ul li:last-child').prependTo('#slider ul');
$('#slider ul').css('left', '');
});
};
function moveRight() {
$('#slider ul').animate({
left: - slideWidth
}, 200, function () {
$('#slider ul li:first-child').appendTo('#slider ul');
$('#slider ul').css('left', '');
});
};
$('a.control_prev').click(function () {
moveLeft();
});
$('a.control_next').click(function () {
moveRight();
});
});
//Filter
$(function() {
$(".container").mixItUp();
var inputText;
var $matching = $();
// Delay function
var delay = (function(){
var timer = 0;
return function(callback, ms){
clearTimeout (timer);
timer = setTimeout(callback, ms);
};
})();
$("#input").keyup(function(){
// Delay function invoked to make sure user stopped typing
delay(function(){
inputText = $("#input").val().toLowerCase();
// Check to see if input field is empty
if ((inputText.length) > 0) {
$( '.mix').each(function() {
$this = $("this");
// add item to be filtered out if input text matches items inside the title
if($(this).children('.title').text().toLowerCase().match(inputText)) {
$matching = $matching.add(this);
}
else {
// removes any previously matched item
$matching = $matching.not(this);
}
});
$(".container").mixItUp('filter', $matching);
}
else {
// resets the filter to show all item if input is empty
$(".container").mixItUp('filter', 'all');
}
}, 200 );
});
})
// Config
$(".modal-button").click(function(){
if($(this).parent().hasClass("active")) {
$(this).parent().removeClass("active");
} else {
$(this).parent().addClass("active");
}
});
//# sourceURL=pen.js
</script>
</body></html>