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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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="blockquote-wrapper">
  <div class="blockquote">
    <h1>
      Your personal tastes are not a success metric
     </h1>
    <h4>Mike Monteiro</h4>
  </div>
</div>
  
              
            
!

CSS

              
                /* dark background */
body { background: #191A1B; }

/* center the blockquote in the page */
.blockquote-wrapper {
   display: flex;
   height: 100vh;
}

/* Blockquote main style */
.blockquote {
    position: relative;
    font-family: 'Poppins', sans-serif;
    padding: 2px;
    width: 100%;
    max-width: 600px;
    z-index: 1;
    margin: auto;
}

/* Blockquote right double quotes */
.blockquote:after {
    position: absolute;
    content: "”";
    color: #ffffff;
    font-size: 20em;
    line-height: 1;
    left: calc(50% - 3rem);
    bottom: -0.8em;
    z-index: 1;
}

/* Blockquote background */
.blockquote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
   background-color: #ff0000;
    background-image: linear-gradient(45deg, #ff0000 0%, #FFFFFF 24%, #6284FF 49%, #FF0000 75%, #ffffff 100%);

    background-size: 400% 400%;
    animation: gradientborders 8s ease infinite;
}

/* Blockquote background animation */
@keyframes gradientborders {
  0%{background-position:0% 25%}
  50%{background-position:100% 76%}
  100%{background-position:0% 25%}
}

/* Blockquote header */
.blockquote h1 {
    position: relative;
    background-color: #191A1B;
    color: #FFFFFF;
    font-size: 40px;
    text-align: center;
    font-weight: normal;
    line-height: 1;
    margin: 0;
    padding: 30px 30px 5px 30px;
}

/* increase header size after 600px */
@media all and (min-width: 600px) {
    .blockquote h1 {
        font-size: 60px;
   }
}

/* Blockquote subheader */
.blockquote h4 {
    position: relative;
    color: #FF058A;
    background-color: #191A1B;
    text-transform: uppercase;
    font-size: 1rem;
    text-align: center;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 5px;
    margin: -5px 0 0 0;
    padding: 20px 20px 5em 20px;
}
              
            
!

JS

              
                
              
            
!
999px

Console