cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              <div class="container">
    <div class="row" style="padding-top: 20px">
        <!-- XS -->
        <div class="well well-sm visible-xs">
            <h2 class="text-center">Extra small - col-xs-*</h2>
            <h3 class="text-center">Menor que 768px</h3>                    
            <h4 class="text-center resolucao-atual"></h4>
        </div>      
        <!-- SM -->
        <div class="well well-sm visible-sm">
            <h2 class="text-center">Small - col-sm-*</h2>
            <h3 class="text-center">Maior ou Igual a 768px</h3>
            <h4 class="text-center resolucao-atual"></h4>
        </div>
        <!-- MD -->
        <div class="well well-sm visible-md">
            <h2 class="text-center">Medium - col-md-*</h2>
            <h3 class="text-center">Maior ou Igual a 992px</h3>
            <h4 class="text-center resolucao-atual"></h4>
        </div>
        <!-- LG -->
        <div class="well well-sm visible-lg">
            <h2 class="text-center">Large - col-lg-*</h2>
            <h3 class="text-center">Maior ou Igual a 1200px</h3>
            <h4 class="text-center resolucao-atual"></h4>
        </div>
    </div>

    <div class="row divs" style="padding-top: 20px">
        <!-- XS -->
        <div class="visible-xs">
            <div class="col-xs-12 text-center box4">XS</div>
        </div>      
        <!-- SM -->
        <div class=" visible-sm">
            <div class="col-sm-1 text-center box1">SM</div>
            <div class="col-sm-1 text-center box2">SM</div>
            <div class="col-sm-1 text-center box3">SM</div>
            <div class="col-sm-1 text-center box4">SM</div>
            <div class="col-sm-1 text-center box5">SM</div>
            <div class="col-sm-1 text-center box6">SM</div>
            <div class="col-sm-1 text-center box7">SM</div>
            <div class="col-sm-1 text-center box8">SM</div>
            <div class="col-sm-1 text-center box1">SM</div>
            <div class="col-sm-1 text-center box2">SM</div>
            <div class="col-sm-1 text-center box3">SM</div>
            <div class="col-sm-1 text-center box4">SM</div>
        </div>
        <!-- MD -->
        <div class=" visible-md">
            <div class="col-md-1 text-center box1">MD</div>
            <div class="col-md-1 text-center box2">MD</div>
            <div class="col-md-1 text-center box3">MD</div>
            <div class="col-md-1 text-center box4">MD</div>
            <div class="col-md-1 text-center box5">MD</div>
            <div class="col-md-1 text-center box6">MD</div>
            <div class="col-md-1 text-center box7">MD</div>
            <div class="col-md-1 text-center box8">MD</div>
            <div class="col-md-1 text-center box1">MD</div>
            <div class="col-md-1 text-center box2">MD</div>
            <div class="col-md-1 text-center box3">MD</div>
            <div class="col-md-1 text-center box4">MD</div>
        </div>
        <!-- LG -->
        <div class=" visible-lg">
            <div class="col-lg-1 text-center box1">LG</div>
            <div class="col-lg-1 text-center box2">LG</div>
            <div class="col-lg-1 text-center box3">LG</div>
            <div class="col-lg-1 text-center box4">LG</div>
            <div class="col-lg-1 text-center box5">LG</div>
            <div class="col-lg-1 text-center box6">LG</div>
            <div class="col-lg-1 text-center box7">LG</div>
            <div class="col-lg-1 text-center box8">LG</div>
            <div class="col-lg-1 text-center box1">LG</div>
            <div class="col-lg-1 text-center box2">LG</div>
            <div class="col-lg-1 text-center box3">LG</div>
            <div class="col-lg-1 text-center box4">LG</div>
        </div>
    </div>

</div>
            
          
!
            
              $(document).ready(function(){
	$('.resolucao-atual').text('Resolução atual: ' + $(this).width() + 'px');
	$(window).resize(function(){
		$('.resolucao-atual').text('Resolução atual: ' + $(this).width() + 'px');
	});
});
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console