Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

              
                <!-- modified fork of https://codepen.io/dudleystorey/pen/sjvCA and  https://codepen.io/rishabhsrao/pen/fzhDH -->

<section class="frameTransparent">
    
    <img class="frameMat" src="http://placekitten.com/1600/1600/" />
     
</section>
              
            
!

CSS

              
                .frameTransparent {
  /*slanted rainbow background */
  background-image: -webkit-linear-gradient(45deg, #b145c7 9%, #7646d6 9%, #7646d6 18%, #4a5adb 18%, #4a5adb 27%, #4a78e4 27%, #4a78e4 36%, #3a9dcf 36%, #3a9dcf 45%, #38bf73 45%, #38bf73 54%, #80c83b 54%, #80c83b 63%, #cad839 63%, #cad839 72%, #e7ba37 72%, #e7ba37 81%, #e77337 81%, #e77337 90%, #e9411f 90%, #e9411f 100%, #b145c7 100%);
  background-image: linear-gradient(45deg, #b145c7 9%, #7646d6 9%, #7646d6 18%, #4a5adb 18%, #4a5adb 27%, #4a78e4 27%, #4a78e4 36%, #3a9dcf 36%, #3a9dcf 45%, #38bf73 45%, #38bf73 54%, #80c83b 54%, #80c83b 63%, #cad839 63%, #cad839 72%, #e7ba37 72%, #e7ba37 81%, #e77337 81%, #e77337 90%, #e9411f 90%, #e9411f 100%, #b145c7 100%);
  padding:11px 0;
}

.frameMat { 
  width: 99%; height: auto; display: block; 
  margin: 0% auto; padding: 5%;
  border: 6px double rgba(197,197,197,.7);
  -webkit-box-shadow: 

    /*inside picture frame, after double border */
    0 0 0 2.5vw rgba(193,193,194,.8) inset, 

    /*inside picture frame, after double border - inset overlay*/
    0 50px 60px rgba(255,50,20,.75) inset, 
    0 -50px 60px rgba(250,250,50,.75) inset,
    50px 0 60px rgba(50,20,250,.75) inset, 
    -50px 0 60px rgba(250,50,250,.75) inset,

    /*outer picture frame border*/
    0 0 0 11px rgba(83, 83, 83,.9);

  opacity:.85;  

}
              
            
!

JS

              
                
              
            
!
999px

Console