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="tab-container">
<div class="tab-menu">
         <li><a href="#" class="tab-a active-a" data-id="tab1">TAB-1</a></li>
         <li><a href="#" class="tab-a" data-id="tab2">TAB-2</a></li>
         <li><a href="#" class="tab-a" data-id="tab3">TAB-3</a></li>
   </div><!--end of tab-menu-->
   <div  class="tab tab-active" data-id="tab1">
         <h2>heading of tab one</h2>
         <p>Content of tab one</p>
   </div><!--end of tab one--> 

   <div  class="tab " data-id="tab2">
          <h2>heading of tab two</h2>
         <p>Content of tab two</p>
   </div><!--end of tab two--> 
      <div  class="tab " data-id="tab3">
          <h2>heading of tab three</h2>
         <p>Content of tab three</p>     
   </div><!--end of tab three--> 
</div><!--end of container-->
	margin: 0;
	padding: 0;
	height: 100%;
	background-color: #c7eae0;
	font-family: 'sans-serif', sans-serif;
	margin: 5% 10%;
	background-color: #c1e3d9;
	padding: 3%;
	border-radius: 4px;
.tab-menu ul{
	margin: 0;
	padding: 0;
.tab-menu ul li{
	list-style-type: none;
	display: inline-block;
.tab-menu ul li a{
	text-decoration: none;
	color: rgba(0,0,0,0.4);
	background-color: #b4cbc4;
	padding: 7px 25px;
	border-radius: 4px;
.tab-menu ul li a.active-a{
	background-color: #588d7d;
	color: #ffffff;
	display: none;
.tab h2{
	color: rgba(0,0,0,.7);
.tab p{
	color: rgba(0,0,0,0.6);
	text-align: justify;
	display: block;
Loading ..................