Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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.


Auto Save

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.


                <link href="" rel="stylesheet">
<h1>Administration bar with buttons and icons ( insipired by Android )</h1>
<h2>hint: try to toggle click on buttons</h2>
<h2> > Update 27.2.2015. - Added newest fontawesome, now animation in and out</h2>
<h2> > Update 3.3.2015. - Removed fontawesome, now supporting <a href="">Ionicons</a> , added border radius on first and last child</h2>
<div class="button-group-navigation" target="_blank">
  <li><a class="btn" href="#"><i class="icon ion-bluetooth"></i></a></li>
  <li><a class="btn" href="#"><i class="icon ion-wifi"></i></a></li>
  <li><a class="btn" href="#"><i class="icon ion-location"></i></a></li>
  <li><a class="btn" href="#"><i class="icon ion-android-sync"></i></a></li>
  <li><a class="btn" href="#"><i class="icon ion-android-plane"></i></a></li>
  <li><a class="btn" href="#"><i class="icon ion-android-volume-off"></i></a></li>


                @import url(;
body {
  background: #3498db;

h1 {
  font-size: 30px;
  font-family: 'Lato', sans-serif;
  color: #fff;

h2 {
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  color: #fff;

a {
  color: #fff;

.btn {
  padding: 40px 30px 30px 30px;
  margin: 0 1px 0 0;
  text-decoration: none;
  text-align: center;
  color: #7f8c8d;
  cursor: pointer;
  background: #2c3e50;
  border-bottom: 10px solid #34495e;
  transition-property: border-bottom .6s linear 0s;
  -moz-transition: border-bottom .6s linear 0s;
  -webkit-transition: border-bottom .6s linear 0s;
  -o-transition: border-bottom .6s linear 0s;
  font-size: 25px;
} {
  border-bottom: 10px solid #2ecc71;
  color: #2ecc71;

.button-group-navigation li {
  display: inline-block;
  list-style: none;
  padding: 0;
  margin: 0;
  zoom: 1;
  background: #7f8c8d;

.button-group-navigation li .btn {
  float: left;
  margin-left: -4px;

.button-group-navigation li:first-child .btn {
  margin-left: 0;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;

.button-group-navigation li:last-child>.btn {
  margin-right: 0;
  -webkit-border-top-right-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  -moz-border-radius-topright: 3px;
  -moz-border-radius-bottomright: 3px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;


                $(window).load(function() {
  $('a.btn').click(function() {