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

Auto Save

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

              
                <h3>Text Shadow Without Blur Effect</h3>
<div class="dropshadow">Drop Shadow</div>
<div class="pinkshadow">Pink Shadow</div>
<h3>Text Shadow With Blur on Bottom Right</h3>
<div class="redblurry">Red Blurry</div>
<h3>Text Shadow With Blur on Same Position</h3>
<div class="solar">Solar</div>
<h3>Left Shifted Text Shadow With Blur</h3>
<div class="grayshadow">Gray Shadow</div>
<div class="blueshadow">Blue Shadow</div>
<h3>Right Shifted Text Shadow With Blur</h3>
<div class="rightshadow">Right Shadow</div>
<div class="rightshadow2">Second Right Shadow</div>
<h3>Top Shifted Text Shadow With Blur</h3>
<div class="green-top">Green Top Shadow</div>
<h3>Bottom Shifted Text Shadow With Blur</h3>
<div class="blue-bottom">Blue Bottom Shadow</div>
<div class="blue-bottom2">Second Blue Bottom Shadow</div>

              
            
!

CSS

              
                 div {font-size:xx-large;}
h3{color:blue;}

.dropshadow {color:green;text-shadow:2px 2px 0 gray;}
.pinkshadow{color:red; text-shadow:pink 1px 0.1em 0px;}

.redblurry {color:blue;text-shadow:3px 3px 5px red;}
.solar      {color:white; text-shadow:black 0px 0px 5px;}

.grayshadow{color:brown; text-shadow:gray -3px 0px 3px;}
.blueshadow{color:pink; text-shadow:blue -1px 1px 3px;}

.rightshadow{color:red; text-shadow:#FF00AA 3px 0px 5px;}
.rightshadow2{color:brown; text-shadow:gray 5px 1px 2px;}

.green-top{color:#00AA00; text-shadow:green 0 -0.05em 1px;}

.blue-bottom{color:#00AAFF; text-shadow:blue 0px 3px 1px;}
.blue-bottom2{color:#FFAA00; text-shadow:blue 0px 0.1em 2px;}

              
            
!

JS

              
                
              
            
!
999px

Console