Pen Settings



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


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.


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.


    <meta name=viewport content="width=device-width" scale=1.0>
    <meta http-equiv="refresh" content="2">
    <div class="box2">
      <div class="light">

      <div class="box">
        <h2>Glowing Border</h2>
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam feugiat leo ac turpis bibendum convallis. Fusce rhoncus iaculis ex efficitur tempor. Pellentesque suscipit vel sem suscipit varius. Quisque imperdiet id neque in mattis.</p>



  background: black;
  position: relative;
  width: 97%;
  height: 97%;
  background: black;
  margin: 0 auto;
  top: 50%;
  transform: translate(0,-50%);
  position: relative;
  width: 17em;
  height: 20em;
  margin: 0 auto;
  margin-top: 25%;
  background: radial-gradient(at 0% 0%, #02bcd3, transparent 50%),radial-gradient(at 100% 100%, #7ee405, transparent 50%);
  box-shadow: -2em -2em 5em 0px rgba(02,188,211,0.3),
    2em 2em 5em 0px rgba(126,228,05,0.2);
.box p{
  color: white;
  padding: 1em
.box h2{
  color: white;
  padding: 1em;
  padding-bottom: 0;
  padding-left: 0.5em;
@keyframes mymove {
  0%{top:0%;left: 0%;}
  25%{top:0%; left: 75%;}
  50%{top:75%; left: 75%;}
  75%{top:75%; left: 0%;}
  background: red;
  width: 25%;
  height: 25%;
  position: absolute;
  top: 0%;
  left: 0%;
  animation: mymove 3s linear infinite;