cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Untitled

A Pen By Captain Anonymous

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.

            
              <h1>Bootstrap screen mode label</h1>
Note the label at the top left corner. Resize the window to see the label change.
  <a href="http://www.rlvision.com/blog/see-what-boostrap-screen-mode-you-are-currently-viewing/">Back to the blog post</a>
            
          
!
            
              body::before {
	content: "X-SMALL";

	position: absolute;
	top: 0;
	left: 0;

	background-color: #fff;
	color: #000;
	font-weight: bold;
	padding: 4px 6px 2px 6px;
	border: 1px solid #d3d3d3;

	z-index: 10000;
}
 
@media (min-width: 480px) {		/* @screen-xs */
	body::before {
		content: "SMALL";
		background-color: #fbf;
	}
}
 
@media (min-width: 768px) {		/* @screen-sm */
	body::before {
		content: "MEDIUM";
		background-color: #bbf;
	}
}
 
@media (min-width: 992px) {		/* @screen-md */
	body::before {
		content: "LARGE";
		background-color: #bfb;
	}
}
 
@media (min-width: 1200px) {	/* @screen-lg */
	body::before {
		content: "X-LARGE";
		background-color: #fbb;
	}
}
            
          
!
999px
Loading ..................

Console