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

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.

Quick-add: + add another resource

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.

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">

	<ul class="tabs">
		<li class="tab current" data-tab="tab-1">Tab One</li>
		<li class="tab" data-tab="tab-2">Tab Two</li>
		<li class="tab" data-tab="tab-3">Tab Three</li>
		<li class="tab" data-tab="tab-4">Tab Four</li>

	<div id="tab-1" class="tab-content current">
    	<h2>Tab One</h2>
	<div id="tab-2" class="tab-content">
    	<h2>Tab Two</h2>  
	<div id="tab-3" class="tab-content">
    	<h2>Tab Three</h2> 
	<div id="tab-4" class="tab-content">
    	<h2>Tab Four</h2> 

</div><!-- container -->
              /* CSS Document */
html {
	background: #1D1F20;

body {
	font-family: Tahoma,Verdana,Segoe,sans-serif;

a {

h1 {
	font-size: 50px;
	text-align: center;

	width: 90%;
	margin: 20px auto;

	margin: 0px;
	padding: 0px;
	list-style: none;
	border-bottom: 5px #DF4910 solid;

.tabs li{
	display: inline-block;
	padding: 10px 20px 5px 20px;
	cursor: pointer;

.tabs li:hover {

.tabs li.current{
	background: #DF4910;
	color: #FFF;

	display: none;
	background: #323432;
	color: #cccccc;
	padding: 15px;

	display: inherit;
	$('ul.tabs li').click(function(){
		var tab_id = $(this).attr('data-tab');

		$('ul.tabs li').removeClass('current');


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