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.

+ add another resource


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


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.


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.


                        <div class="container">
            <svg viewBox="0 0 700 340" xmlns="" xmlns:xlink="">
                    <filter id="filter" x="-8.4%" y="-8.4%" width="116.8%" height="138.6%" filterUnits="objectBoundingBox">
                        <!-- we can't use feDropShadow because IE11 and edge don't support it -->
                        <!-- <feDropShadow dx="0" dy="14" stdDeviation="12" flood-color="#000" flood-opacity="0.2"/> -->
                        <feGaussianBlur in="SourceAlpha" stdDeviation="14"/> <!-- stdDeviation is how much to blur -->
                        <feOffset dx="0" dy="12" result="offsetblur"/> <!-- how much to offset -->
                          <feFuncA type="linear" slope="0.5"/> <!-- slope is the opacity of the shadow -->
                          <feMergeNode/> <!-- this contains the offset blurred image -->
                          <feMergeNode in="SourceGraphic"/> <!-- this contains the element that the filter is applied to -->
                    <path id="card" d="M0 97.8946084V5.71636364C0 2.55930318 2.55339076 0 5.70315789 0H595.98c3.149767 0 5.703158 2.55930318 5.703158 5.71636364V97.8946084C583.539333 98.086198 568.89 112.887916 568.89 131.119091s14.649333 33.032893 32.793158 33.224482v91.4637c0 3.15706-2.553391 5.716363-5.703158 5.716363H5.70315789C2.55339076 261.523636 0 258.964333 0 255.807273v-91.4637a33.75969096 33.75969096 0 0 0 .35644737.001882c18.30802143 0 33.14960523-14.87595 33.14960523-33.226364 0-18.350414-14.8415838-33.2263637-33.14960523-33.2263637-.1189632 0-.23778002.0006281-.35644737.0018811z"/>
                    <clipPath id="clipath">
                        <use xlink:href="#card"/>
                <g id="cardmask" filter="url(#filter)" transform="translate(45 30)" fill="none" fill-rule="evenodd">
                    <g clip-path="url(#clipath)">
                            x="-40" y="-40" width="100%" height="100%"
                            preserveAspectRatio="xMinYMin slice" />



                body {
  background-color: #9cb9b9;

.container {
    width: 700px;
    height: 340px;
    padding: 20px;
    margin: auto;
    margin-top: 50px;