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.


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.


                <ul class="spicesocialwidget">
  <li class="facebook">
    <a rel="nofollow" href="" target="_blank" title="facebook">
      <div class="tooltip"><span>Facebook</span></div>
  <li class="googleplus">
    <a rel="nofollow" href="" target="_blank" title="googleplus"></a>
  <li class="pinterest">
    <a rel="nofollow" href="" target="_blank" title="pinterest"></a>
  <li class="twitter">
    <a rel="nofollow" href="" target="_blank" title="twitter"></a>
  <li class="rss">
    <a rel="nofollow" href="" target="_blank" title="rss"></a>
  <li class="skype">
    <a rel="nofollow" href="" target="_blank" title="Skype"></a>
  <li class="vimeo">
    <a rel="nofollow" href="" target="_blank" title="vimeo"></a>
  <li class="dribbble">
    <a rel="nofollow" href="" target="_blank" title="dribble"></a>
  <li class="flickr">
    <a rel="nofollow" href="" target="_blank" title="flickr"></a>
  <li class="linkedin">
    <a rel="nofollow" href="" target="_blank" title="linkedin">
  <li class="youtube">
    <a rel="nofollow" href="" target="_blank" title="youtube"></a>



                ul.spicesocialwidget {
  margin: 140px 0;
  padding: 0;
  width: auto;
  height: 32px;
  border: 1px solid rgba(0,0,0,0.1);
  text-align: center;
  font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
ul.spicesocialwidget li {
  list-style:none outside none;
  display: inline-block;
ul.spicesocialwidget li a {
  background-size:auto 96px;
  border:0 none;
  /*transition:all 0.2s ease 0s;*/
  position: relative;
  display: flex;

.tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: -25px;
  left: 50%;
  z-index: 1;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
.tooltip span {
  position: relative;
  left: -50%;
  padding: 6px 8px 5px 8px;
  border-radius: 3px;
  font-size: .7rem;
  z-index: 1;
  line-height: 1;
.tooltip span:after {
  position: absolute;
  content: " ";
  width: 0;
  height: 0;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  border: 8px solid transparent;
.spicesocialwidget a:hover .tooltip {
  display: block;
  visibility: visible;
  opacity: 1;
  -webkit-transform: translate(0, -10px);
  -moz-transform: translate(0, -10px);
  -ms-transform: translate(0, -10px);
  transform: translate(0, -10px);

.ie7 ul.spicesocialwidget li a,
.ie8 ul.spicesocialwidget li a {
ul.spicesocialwidget li.facebook a { background-position:0 0; }
ul.spicesocialwidget a { background-position:-32px 0; }
ul.spicesocialwidget li.dribbble a { background-position:-64px 0; }
ul.spicesocialwidget li.googleplus a { background-position:-96px 0; }
ul.spicesocialwidget li.linkedin a { background-position:-128px 0; }
ul.spicesocialwidget li.pinterest a { background-position:-160px 0; }
ul.spicesocialwidget li.rss a { background-position:-192px 0; }
ul.spicesocialwidget a { background-position:-224px 0; }
ul.spicesocialwidget li.twitter a { background-position:-256px 0; }
ul.spicesocialwidget li.vimeo a { background-position:-288px 0; }
ul.spicesocialwidget a { background-position:-320px 0; }

ul.spicesocialwidget li.facebook a:hover { background-position:0 -32px}
ul.spicesocialwidget a:hover { background-position:-32px -32px}
ul.spicesocialwidget li.dribbble a:hover { background-position:-64px -32px}
ul.spicesocialwidget li.googleplus a:hover { background-position:-96px -32px}
ul.spicesocialwidget li.linkedin a:hover { background-position:-128px -32px}
ul.spicesocialwidget li.pinterest a:hover { background-position:-160px -32px}
ul.spicesocialwidget li.rss a:hover { background-position:-192px -32px}
ul.spicesocialwidget a:hover { background-position:-224px -32px}
ul.spicesocialwidget li.twitter a:hover { background-position:-256px -32px}
ul.spicesocialwidget li.vimeo a:hover { background-position:-288px -32px}
ul.spicesocialwidget a:hover { background-position:-320px -32px}

.spicesocialwidget .facebook span { background: #3b5a9b; color: #dce5ed; text-shadow: 0px 1px 0px #2f487c; }
.spicesocialwidget .facebook span:after { border-top-color: #3b5a9b; }