Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

<div id="menF">

<select id="">
    <option value="hide">Par Genre</option>
    <option value="2010">Action</option>
    <option value="2011">Amour</option>
    <option value="2013">Animation</option>
    <option value="2012">Arts Martiaux</option>
    <option value="2014">Aventure</option>
    <option value="2015">Comédie</option>
    <option value="2015">Divers</option>
    <option value="2015">Documentaire</option>
    <option value="2015">Drâme</option>
    <option value="2015">Érotique</option>
    <option value="2015">Famille</option>
    <option value="2015">Fantastique</option>
    <option value="2015">Guerre</option>
    <option value="2015">Historique</option>
    <option value="2015">Horreur</option>
    <option value="2015">Policier</option>
    <option value="2015">Science Fiction</option>
    <option value="2015">Sport</option>
    <option value="2015">Triller</option>
    <option value="2015">Western</option>
<select id="year">
    <option value="hide">Par Année</option>
	<option value="2016">2016</option>
	<option value="2015">2015</option>
	<option value="2014">2014</option>
	<option value="2013">2013</option>
	<option value="2012">2012</option>
	<option value="2011">2011</option>
	<option value="2010">2010</option>
	<option value="2009">2009</option>
	<option value="2008">2008</option>
	<option value="2007">2007</option>
	<option value="2006">2006</option>
	<option value="2005">2005</option>
	<option value="2004">2004</option>
	<option value="2003">2003</option>
	<option value="2002">2002</option>
	<option value="2001">2001</option>
	<option value="2000">2000</option>
	<option value="1999">1999</option>
	<option value="1998">1998</option>
	<option value="1997">1997</option>
	<option value="1996">1996</option>
	<option value="1995">1995</option>
	<option value="1994">1994</option>
	<option value="1993">1993</option>
	<option value="1992">1992</option>
	<option value="1991">1991</option>
	<option value="1990">1990</option>
	<option value="1989">1989</option>
	<option value="1988">1988</option>
	<option value="1987">1987</option>
	<option value="1986">1986</option>
	<option value="1985">1985</option>
	<option value="1984">1984</option>
	<option value="1983">1983</option>
	<option value="1982">1982</option>
	<option value="1981">1981</option>
<select id="">
    <option value="hide">Par Nationalité</option>
    <option value="2010">Allemand</option>
    <option value="2011">Américain</option>
    <option value="2011">Australien</option>
    <option value="2011">Belge</option>
    <option value="2012">Britannique</option>
    <option value="2013">Canadien</option>
    <option value="2013">Danois</option>
    <option value="2011">Espagnol</option>
    <option value="2014">Français</option>
    <option value="2015">Indien</option>
    <option value="2015">Irlandais</option>
    <option value="2015">Islandais</option>
    <option value="2011">Italien</option>
    <option value="2015">Japonais</option>
    <option value="2015">Méxicain</option>
    <option value="2011">Russe</option>
    <option value="2011">Sud-Africain</option>
    <option value="2011">Sud-Coréen</option>
    <option value="2011">Suédois</option>
    <option value="2015">Suisse</option>
    <option>Derniers ajouts</option>
    <option value="2011">Date de sortie</option>
    <option value="2012">Popularité</option>
    <option value="2013">Note</option>
    <option value="2014">Budget</option>
              /* Initialisation */
  font-family:"Quicksand","Open Sans",sans-serif;
html{	background:url(// no-repeat;

	background: rgba(50, 50, 50, 0.8);
  box-shadow: 0 0 15px -2px #141414;
  font-family:"Quicksand","Open Sans",sans-serif;

.select-hidden {
  display: none;
  visibility: hidden;
  padding-right: 10px;
.select {
  cursor: pointer;
  display: inline-block;
  position: relative;
  font-size: 14px;
  color: #fff;
  width: 170px;
  height: 30px;
  line-height: 31px;
.btnSelect {
  position: absolute; 
  background-color: rgba(20,20,20, 0.8);
  padding: 0 15px;
  margin:0 2px -2px 2px;
  transition: all 0.2s ease-in;
  box-shadow: 0 0 5px -2px rgba(20,20,20, 0.8);
.btnSelect:after {
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-color: #FFF transparent transparent transparent;
    position: absolute;
    top: 12px;
    right: 10px;

.active { background-color: rgba(0,0,0, 0.8); }

.active:after{  top: 5px;  border-color: transparent transparent #fff transparent; }

.listSelect {
  display: none; 
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 999;
  margin: 0;
  padding: 0;
  font-size: 15px;
  list-style: none;
  background-color: rgba(40,40,40, 0.95);
  box-shadow: 0 0 15px -2px #141414;
  max-height: 700px;
  overflow-y: scroll;
  overflow-x: hidden;
.listSelect li{
    margin: 0;
    text-indent: 15px;
    border-top: 1px solid rgba(0,0,0, 0.8);
    transition:all 0.2s ease-in;
.listSelect .listSelect, .listSelect li:hover{
      background: rgba(150,150,150, 0.4);
    var $this = $(this), numberOfOptions = $(this).children('option').length;
    $this.addClass('select-hidden'); // On masque le select
    $this.wrap('<div class="select"></div>'); // On créer une div parrent 
    $this.after('<div class="btnSelect"></div>'); // On ajoute le bouton

    var $styledSelect = $'.btnSelect'); // Var bouton
    $styledSelect.text($this.children('option').eq(0).text()); // On insere le text du premier select
    var $list = $('<ul />', { 'class': 'listSelect' }).insertAfter($styledSelect); // On insert la liste
    for (var i = 0; i < numberOfOptions; i++) {
        $('<li />', {
            text: $this.children('option').eq(i).text(),
            rel: $this.children('option').eq(i).val(),
            class: $this.children('option').eq(i).attr('class')
    var $listItems = $list.children('li');
	// Au clic sur le bouton liste
    $ {
        $('').not(this).each(function(){ // On ferme les listes ouvertes
        $(this).toggleClass('active').next('.listSelect').toggle(); // On active le bouton et deroule la liste
	// Au clic sur un element de la liste
    $ {
        $styledSelect.text($(this).text()).removeClass('active'); // On change le titre par celui cliqué
        $this.val($(this).attr('rel')); // On recupere la valeur de l'element
        $list.hide(); // on ferme la liste
	// Au clic en dehors de la liste
	$(document).click(function() {

🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.