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 style=" margin: 3em;">
    <div class="hover-info" style="display: inline-block;">
            <h3>Hover Title!</h3>
            <h4>Simple info bubble</h4>
        <div class="hover-details">
            You can grab a scss code for this effect on
            <a href="https://gist.github.com/rinatio/5641730">github</a>
              @import "compass/css3";

body {
  color: rgb(51, 51, 50);
.hover-info {
  $pd: 20px; // Padding
  $bd: 1px; // Border width
  $bdr: 8px; // Border radius
  $bdc: rgba(0, 0, 0, 0.1); // Border color
  $bsh: 2px 2px 2px rgba(0, 0, 0, 0.2); // Box shadow

  .hover-details {
    display: none;

  &:hover {
    position: relative;
    background: white;
    z-index: 100;

    border-radius: $bdr $bdr 0 0;
    border: $bd solid $bdc;
    border-bottom: none;

    margin: -#{$pd+$bd} -#{$pd+$bd} 0;
    padding: $pd $pd 0;

    box-shadow: $bsh;

    .hover-details {
      display: inline-block;
      position: absolute;
      background: white;
      right: 0;
      left: 0;

      border-color: $bdc;
      border-width: $bd;
      border-style: none solid solid;
      border-radius: 0 0 $bdr $bdr;

      margin: 0 -#{$bd} -#{$bd};
      padding: 0 $pd $pd;

      box-shadow: $bsh;

  // Clearfix for vertical margin collapsing
  &:after {
    display: table;
    line-height: 0;
    content: "";
  &:after {
    clear: both;

Loading ..................