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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.



Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO


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.


Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:


Screenshot or Custom Thumbnail

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO



	<meta charset="UTF-8">
	<title>Organic Tabs</title>
	<link rel="stylesheet" href="css/style.css">
    <script src=''></script>
    <script src=""></script>
        $(function() {
                "speed": 200

  <div id="example-one">
        	<ul class="nav">
                <li class="nav-one"><a href="first.html" class="current">Allgemein</a></li>
                <li class="nav-two"><a href="second.html">Aktuelle Beiträge</a></li>
                <li class="nav-three"><a href="third.html">Aktuelle Fotos</a></li>
                <li class="nav-four"><a href="fourth.html">Aktuelle Ausschreibungen</a></li>
			        	<li class="nav-five last"><a href="fifth.html">Termine</a></li>
        	<div class="list-wrap">
        		<ul id="first">
        			<li><a href="./components/42/werwirsind.html">Eins</a></li>
        			<li><a href="">Zwei</a></li>
				  	<li><a href="<build-your-own-></build-your-own->social-home/">Drei</a></li>
					  <li><a href="<build-your-own-></build-your-own->social-home/">Vier</a></li>
					  <li><a href="./components/ca/ca.php">Fünf</a></li>
				  	<li><a href="<build-your-own-></build-your-own->social-home/">Sechs</a></li>
        			<li><a href="">Sieben</a></li>
        			<li><a href="">Acht</a></li>
        		 <ul id="second" class="hide">
                    <li><a href="">Atomic: Stoff für Verschwörungstheoretiker</a></li>
                    <li><a href="">Schrumpft der Mensch?</a></li>
                    <li><a href="">Mit den Ohren wackeln: Sinn und Unsinn der Ohrmuskeln</a></li>
                    <li><a href="">Chinas Hunger auf westliches Know-how</a></li>
                    <li><a href="">Zufriedenheit im Job ist beste Gesundheitsvorsorge</a></li>
        			     <li><a href="">Freiwilliges Engagement: Das eigene Schicksal in den Dienst anderer stellen</a></li>
        			    <li><a href="<css-></css->transparency-settings-for-all-broswers/">Neue "Tiger" im Visier von Chinas F�hrung</a></li>
        			    <li><a href="">Wirtschaft: G-20 zweifeln an Erholung</a></li>
        		    	<li><a href="">Wo die Knospen in Deckung gehen</a></li>
        		 	  <li><a href="<what-is->      </what-is->vertical-align/">So wertvoll wie     ein kleines Steak</a></li>
        			    <li><a href="">Guangzhou glht und kein Ende in Sicht</a></li>
        		 <ul id="third" class="hide">
        		    <li><a href="test.html">Test <font size="-2">[Update: 31.07.2014]</font></a></li>
				      	<li><a href="test2.html">Test <font size="-2">  [Update: 31.07.2013]</font></a></li>
					      <li><a href="#">Test <font size="-2">[Update:       31.05.2014]</font></a></li>
					    <li><a href="#">Test <font size="-2">[Update: 15.07.2014]</font></a></li>
					    <li><a href="#">Test</a></li>
        		 <ul id="fourth" class="hide">
                    <li><a href="#">2014</a></li>
				          <li><a href="#">2013</a></li>
				        	<li><a href="#"2012</a></li>
				         	<li><a href="#">2011</a></li>
				<ul id="fifth" class="hide">
                    <li><a href="">Top Designers CSS Wishlist</a></li>
                    <li><a href="">What Beautiful HTML Code Looks Like</a></li>
                    <li><a href="">Easily Password Protect a Website or Subdirectory</a></li>
                    <li><a href="">IE-Only Stylesheets</a></li>
                    <li><a href="">eCommerce Considerations</a></li>
                    <li><a href="">PHP: Build Your First CMS</a></li>
        	 </div> <!-- END List Wrap -->
         </div> <!-- END Organic Tabs (Example One) --




                * { margin: 0; padding: 0; }
body { font: 12px Georgia, serif; }
html { overflow-y: scroll; }
a { text-decoration: none; }
a:focus { outline: 0; }
p { font-size: 13px; margin: 0 0 20px 0; }
#page-wrap { width: 440px; margin: 80px auto; }
h1 { font: bold 40px Sans-Serif; margin: 0 0 20px 0; }

/* Generic Utility */
.hide { position: absolute; top: -9999px; left: -9999px; }

/* Specific to example one */

#example-one { background: #eee; padding: 10px; margin: 0 0 20px 0; -moz-box-shadow: 0 0 5px #666; -webkit-box-shadow: 0 0 5px #666;}

#example-one .nav { overflow: hidden; margin: 0 0 10px 0; }
#example-one .nav li { float: left; margin: 0 10px 10px 0; }
#example-one .nav li.last { margin-right: 0; }
#example-one .nav li a { display: block; padding: 5px; background: #959290; color: white; font-size: 12px; text-align: center; border: 0; }
#example-one .nav li a:hover { background-color: #232323; }

#example-one ul { list-style: none; }
#example-one ul li a { display: block; border-bottom: 1px solid #666; padding: 4px; color: #666; }
#example-one ul li a:hover { background: #c70000; color: white; }
#example-one ul li:last-child a { border: none; }

#example-one ul li.nav-one a.current, #example-one ul.featured li a:hover { background-color: #c70000; color: white; }
#example-one ul li.nav-two a.current, #example-one ul.core li a:hover { background-color: #c70000; color: white; }
#example-one ul li.nav-three a.current, #example-one ul.jquerytuts li a:hover { background-color: #c70000; color: white; }
#example-one ul li.nav-four a.current, #example-one ul.classics li a:hover { background-color: #c70000; color: white; }
#example-one ul li.nav-five a.current, #example-one ul.classics li a:hover { background-color: #c70000; color: white; }


                (function($) {

    $.organicTabs = function(el, options) {
        var base = this;
        base.$el = $(el);
        base.$nav = base.$el.find(".nav");
        base.init = function() {
            base.options = $.extend({},$.organicTabs.defaultOptions, options);
            // Accessible hiding fix
                "position": "relative",
                "top": 0,
                "left": 0,
                "display": "none"
            base.$nav.delegate("li > a", "click", function() {
                // Figure out current list via CSS class
                var curList = base.$el.find("a.current").attr("href").substring(1),
                // List moving to
                    $newList = $(this),
                // Figure out ID of new list
                    listID = $newList.attr("href").substring(1),
                // Set outer wrapper height to (static) height of current inner list
                    $allListWrap = base.$el.find(".list-wrap"),
                    curListHeight = $allListWrap.height();
                if ((listID != curList) && ( base.$el.find(":animated").length == 0)) {
                    // Fade out current list
                    base.$el.find("#"+curList).fadeOut(base.options.speed, function() {
                        // Fade in new list on callback
                        // Adjust outer wrapper to fit new list snuggly
                        var newHeight = base.$el.find("#"+listID).height();
                            height: newHeight
                        // Remove highlighting - Add to just-clicked tab
                        base.$el.find(".nav li a").removeClass("current");
                // Don't behave like a regular link
                // Stop propegation and bubbling
                return false;
    $.organicTabs.defaultOptions = {
        "speed": 300
    $.fn.organicTabs = function(options) {
        return this.each(function() {
            (new $.organicTabs(this, options));
Keep friends close and formatters closer.