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.

    li.is_active(color='#bc2828' emoji='	๐ŸŽ') Apple
    li(color='#d68a8a' emoji='๐Ÿ‘') Peach
    li(color='#dd7e28' emoji='๐ŸŠ') Orange
    li(color='#e0c44f' emoji='๐ŸŒ') Banana
    li(color='#92bf7b' emoji='๐Ÿ') Pear
  top: 45%;
  left: 50%;
  transform: translate(-50%,-50%);
  background-color: #ececec;
  transition: background-color .3s ease;
  position: absolute;
  margin-left: 20px;
  font-size: 250px;
  opacity: .2;
  position: absolute;
    padding: 10px 15px;
    cursor: default;
    color: #222;
    position: relative;
    display: inline-block;
    background-color: #fff;
    border-radius: 100px;
    vertical-align: middle;
    min-width: 12px;
    min-height: 12px;
    padding: 0px;
    transition: all .3s ease;
    margin-right: 5px;
    box-shadow: 0 1px 2px 0px rgba(0,0,0,.2);
    cursor: hand;
    cursor: pointer;
              var tabNames = [];
//loop thru all li element and grab all data, push them into an array of objects
  var _this = $(this);
  var elem = {};
  elem.name = _this.text();
  elem.color = _this.attr('color');
  elem.emoji = _this.attr('emoji');
  //if this li is active, take those data and apply to body
  if (_this.hasClass('is_active')){
  } else {_this.text('')};

//on click change text value, bg data, emoji
$('li').on('click', function(e) {
  var _this = $(this);
  var _idx = _this.index();
Loading ..................