Pen Settings

HTML

CSS

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

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="large-3 medium-3 small-6 columns langs">
<ul>
<li><a id="es" class="es lang" target="es">Español</a></li>
<li><a id="de" class="de lang" target="de">Deutch</a></li>
<li><a id="uks" class="en lang" target="en">English</a></li>
</ul>
</div>

<div class="l-desc" id="container" style="min-height:531px;">
<div class="es">
<h1>Reloj Tous Motif Rosé 500350100</h1>
<div>
<p><strong>El precio final incluye</strong>: El reloj, el IVA, la caja oficial Tous y la garantía oficial internacional de 2 años.</p>
<p><strong>Estado:</strong>&nbsp;Reloj nuevo a estrenar y 100% auténtico</p>
<p><strong>Modelo</strong>: Reloj Tous Motif Rosé 500350100</p>
<p><strong>Movimiento</strong>:&nbsp;Cuarzo</p>
<p><strong>Caja</strong>:&nbsp;Acero inoxidable 316L bañado en oro rosé</p>
<p><strong>Correa</strong>:&nbsp;Silicona de gran calidad y resistencia, color crema</p>
<p><strong>Cristal</strong>:&nbsp;Mineral</p>
<p><strong>Funciones</strong>:&nbsp;Hora, minutos y segundos</p>
<p><strong>Dimensiones</strong>:&nbsp;38mm de diámetro</p>
<p><strong>Sumergible</strong>:&nbsp;100m / 10ATM</p>
</div>
<div style="text-align:center;">
<img src="http://www.ciberwatch.es/theme/ebayv2/images/original.png">
<img src="http://www.ciberwatch.es/theme/ebayv2/images/garant.png">
</div>
</div><!-- // ES -->
<div class="de hidden">
<h1>Reloj Lotus Multifunción 18219/3</h1>
<div>
Descripción DE
</div>
<div style="text-align:center;">
<img src="http://www.ciberwatch.es/theme/ebayv2/images/original.png">
<img src="http://www.ciberwatch.es/theme/ebayv2/images/garant.png">
</div>
</div><!-- // DE -->
<div class="en hidden">
<h1>Tous Motif Rose 500350100 Women´s Watch</h1>
<div>
<p><strong>Model</strong>: 500350100.</p>
<p><strong>Gender</strong>: Women´s.</p>
<p><strong>Collection</strong>: Tous.</p>
<p><strong>Display Date</strong>: Analogue.</p>
<p><strong>Calendar</strong>: No.</p>
<p><strong>Functions</strong>: 3 Hands.</p>
<p><strong>Mechanism</strong>: Quartz.</p>
<p><strong>Case Material</strong>: Stainless Steel.</p>
<p><strong>Bezel</strong>: Rose Gold.</p>
<p><strong>Dial Color</strong>: Nude.</p>
<p><strong>Strap Material</strong>:&nbsp;Rubber.</p>
<p><strong>Strap Color</strong>:&nbsp;Nude.</p>
<p><strong>Marker</strong>: Nude.</p>
<p><strong>Clasp Type</strong>:&nbsp;Buckle.</p>
<p><strong>Luminescent</strong>: No.</p>
<p><strong>Glass</strong>: Mineral.</p>
<p><strong>Case Dimensions</strong>: 38mm.</p>
<p><strong>Waterproof</strong>: 100m/10ATM.</p>
<p><strong>Packaging</strong>: Official Tous presentation box.</p>
<p><strong>Warranty Type</strong>: 2 years Manufacturer's Worldwide Warranty.</p>
</div>
<div style="text-align:center;">
<img src="http://www.ciberwatch.es/theme/ebayv2/images/original.png">
<img src="http://www.ciberwatch.es/theme/ebayv2/images/garant.png">
</div>
</div><!-- // EN -->
</div>
              
            
!

CSS

              
                .hidden {
  background:red;
  /*display:none;*/
}
.show {
  background:blue;
}
              
            
!

JS

              
                
jQuery(document).ready(function(){
    var $lans = $('#container > div'), $ps = $('.langs a.lang');
    $( ".lang" ).click(function() {
        var $this = $(this), $target = $lans.filter('.' + $this.attr('target'));
            $lans.not($target).fadeOut();
            $target.delay( 400 ).fadeIn();
            $ps.filter('.active').removeClass('active');
            $this.addClass('active');
            $this.attr('target', $this.attr('id'));
    });
});
              
            
!
999px

Console