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.

              <!-- Font Awesome -->
<script src="https://use.fontawesome.com/593384c7df.js"></script>

<!-- Content -->
<div class="quote-container">
  <div class="quote-box">
    <div class="quote-box__msg"> Quote-Msg </div>
    <div class="quote-box__author"> Quote-Author </div>
  </div><!-- quote-box-->
</div><!-- quote-container -->

<!-- Buttons / Footer -->
<button class="twitter"><i class="fa fa-twitter-square"></i></button>
<button class="tumblr"><i class="fa fa-tumblr-square"></i></button>
<button class="quote-new"> New Quote </button>

<div class="footer"> By: Vincent Tang</div>

              body {
  transition: background-color 1s; /* changes fade on randomcolor */
  padding-top: 100px;
  text-align: center;
  font-family: Verdana, Arial, Helvetica, sans-serif;

header {
  margin: 0 auto;
  width: 400px;
.quote-container {
  width: 400px;
  height: 400px;
  margin: 0 auto;
  background-color: white;
  border: 10px solid grey;
.quote-box {
  margin: 50px;
  text-align: left;
  font-size: 20px;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
  &__msg {
  &__author {
    &:before {content: "- "};
    font-style: italic;
    padding: 10px;

.footer {
  padding-top: 10px;
  color: white;
              var forismaticAPI = 'https://api.forismatic.com/api/1.0/?method=getQuote&format=jsonp&lang=en&jsonp=?';

  //change background-color
    $.getJSON(forismaticAPI, function(data){
      let currentColor = randomColor();
      $('.quote-box__author, .quote-box__msg').css("color", currentColor);
Loading ..................