Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <div class="row" style="padding:30px;">
  <div class="col-sm-3"></div>
  <div class="col-sm-6">
    <div class="featured-tweet row">
      <blockquote>
        <i class="fa fa-twitter"></i>
        <!-- Begin actual Tweet here -->
        <div class="row">
          <p>How We Removed Our Blog Sidebar and Increased Conversion Rates <a href="http://www.impactbnd.com/blog/how-we-removed-our-blog-sidebar-and-increased-conversion-rates" target="_blank">http://www.impactbnd.com/blog/how-we-re…</a> via <a href="https://twitter.com/impactbnd" target="_blank">@impactbnd</a> (Always be reinventing!)</p>
        </div>
        <!-- End Tweet -->
        <!-- Begin The users Info -->
        <div class="row">
          <!-- Begin Name and Handle -->
          <div class="name-handle">
            <h4>
              <img src="https://pbs.twimg.com/profile_images/1385024843/ann-handley-headshot_reasonably_small.jpg" alt="Michelle Garrett" width="50" class="img-circle" >
              <a href="https://twitter.com/MarketingProfs" target="_blank">
                Ann Handley <img src="https://cdn2.hubspot.net/hub/145335/file-1316314625-jpg/twitter-verified.jpg" alt="Verified on Twitter">
              </a>
            </h4>
            <div class="twitter-follow-wrapper">
              <a href="https://twitter.com/intent/follow?screen_name=MarketingProfs" class="twitter-follower-button" target="_blank"><i class="fa fa-twitter"></i> <span class="label-tw">Follow @MarketingProfs</span></a>
            </div>
          </div>
          <!-- End Name and Handle -->
        </div>
        <!-- End Users -->
      </blockquote>
      <div class="row actions">
        <a href="https://twitter.com/intent/tweet?in_reply_to=491940364991737856" target="_blank"><i class="fa fa-reply"></i> Reply</a>
        &nbsp;&nbsp;
        <a href="https://twitter.com/intent/retweet?tweet_id=491940364991737856" target="_blank"><i class="fa fa-retweet"></i> Retweet</a>
        &nbsp;&nbsp;
        <a href="https://twitter.com/intent/favorite?tweet_id=491940364991737856" target="_blank"><i class="fa fa-star"></i> Favorite</a>
      </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                @import "bourbon";

@mixin border-radius($radius) {
	-webkit-border-radius: $radius;
	-moz-border-radius: $radius;
	-ms-border-radius: $radius;
	-o-border-radius: $radius;
	border-radius: $radius;
}

@mixin transition($duration) {
	-webkit-transition: all $duration ease-in-out;
	-moz-transition: all $duration ease-in-out;
	-ms-transition: all $duration ease-in-out;
	-o-transition: all $duration ease-in-out;
	transition: all $duration ease-in-out;
}

.col-sm-8 {
  padding:0px;
}

.featured-tweet {
  padding:60px 15px 75px;
  margin-bottom: 30px;
  border:1px solid #ddd;

  @include border-radius(5px);
  @include transition(.25s);

  &:hover {
    border-color:#55acee;
    @include box-shadow(0px 3px 15px rgba(85, 172, 238, .25));

    &>.actions {
      background: #55acee;

      a {
        color:#fff;
      }
    }
  }

  blockquote {
    text-align: center;
    border:none;

    i.fa-twitter {
      color:#55acee;
      font-size:30px;
      margin-bottom:30px;
    }

    p {
      margin-top:0px;
      margin-bottom:30px;
      padding:0px;
    }

    img.tw-profile-img {
      display:inline-block
    }

    .name-handle {
      display:block;

      h4 {
        display:inline-block;
        margin-right: 15px;

        img {
          vertical-align: middle;
          margin-right:10px;
        }

        a {
          color:#666;
          font-family: merriweather;
        }
      }

      iframe {
        top:3px;
      }
    }

    a.twitter-follow-button {
      display: inline-block;
    }

    .twitter-follow-wrapper {
      max-width: 100%;
      display: inline-block;
      vertical-align: middle;
      zoom:1;

      a.twitter-follower-button {
        height: 20px;
        max-width: 100%;
        font-size:13px;
        position: relative;
        background-color: #eee;
        background-image: -webkit-linear-gradient(#fff,#dedede);
        background-image: linear-gradient(#fff,#dedede);
        border: #ccc solid 1px;
        @include border-radius(3px);
        color: #333;
        font-family: arial, sans-serif;
        font-weight: bold;
        text-shadow: 0 1px 0 rgba(255,255,255,.5);
        cursor: pointer;
        overflow: hidden;
        text-decoration: none;
        line-height:20px;
        padding:3px 5px;
        letter-spacing: 0px;

        &:hover,
        &:active,
        &:focus {
          border-color: #bbb;
          background-color: #d9d9d9;
          background-image: -webkit-linear-gradient(#f8f8f8,#d9d9d9);
          background-image: linear-gradient(#f8f8f8,#d9d9d9);
          box-shadow: none;
        }

        i {
          font-size:18px;
          top:2px;
          margin-bottom:0px;
        }

        .label-tw {
          white-space: nowrap;
          zoom: 1;
          line-height:20px;
        }
      }
    }
  }

  .actions {
    position:absolute;
    width:100%;
    bottom:31px;
    text-align:center;
    padding:10px;
    background: #eee;

    @include border-radius(0px 0px 5px 5px);
    @include transition(.25s);

    a {
      color:#333;
      text-decoration: none;
      font-family:proxima-nova;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-size:14px;

      @media(max-width:767px) {
        font-size:12px;
      }

      &:hover {
        color:#333;
      }
    }
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console