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

              
                <!-- google fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Exo+2:200i"  rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Lobster&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Oswald&family=Quicksand:wght@600&display=swap" rel="stylesheet">

<article class="neonCardWrapper">
  <div class="neonCard centerCol">
    <div class="neonCardInnerCard centerCol">
      <div class="neonContent centerCol neonDiv1">
        <h2>Neon Card</h2>
        <p>Lorem ipsum dolor sit amet, consectetur            adipisicing elit, sed do eiusmod tempor            incididunt ut labore et dolore magna              aliqua.</p>
       </div>
      </div>
     </div>
    <div class="neonCard centerCol">
      <div class="neonCardInnerCard centerCol">
        <div class="neonContent                           centerCol neonDiv2">
          <h2>NEON CARD</h2>
          <p>Lorem ipsum dolor sit amet,                       consectetur adipisicing elit, sed                 do eiusmod tempor incididunt ut                   labore et dolore magna aliqua.</p>
         </div>
        </div>
       </div>
       <div class="neonCard centerCol">
        <div class="neonCardInnerCard centerCol">
          <div class="neonContent                           centerCol neonDiv3">
            <h2>neon card</h2>
            <p>Lorem ipsum dolor sit amet,                        consectetur adipisicing elit, sed                  do eiusmod tempor incididunt ut                    labore et dolore magna aliqua.</p>
          </div>
         </div>
        </div>
        <div class="neonCard centerCol">
          <div class="neonCardInnerCard                     centerCol">
            <div class="neonContent centerCol                 neonDiv4">
              <h2>NEON CARD</h2>
              <p>Lorem ipsum dolor sit amet,                        consectetur adipisicing elit, sed                  do eiusmod tempor incididunt ut                    labore et dolore magna aliqua.                  </p>
             </div>
           </div>
         </div>
      </article>
              
            
!

CSS

              
                body {
  height: 100%;
  width: 100%;
  background-color: black;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.centerCol {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.neonCardWrapper {
    height: 700px;
    width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.neonCard {
    width: 400px;
    height: 300px;
    margin: 30px;
    background: rgb(99,255,0);
    background: linear-gradient(132deg, rgba(99,255,0,1) 0%, rgba(255,0,39,1) 50%, rgba(255,0,210,1) 100%);
}
.neonCardInnerCard {
    width: 397px;
    height: 297px;
    background-color: black;
}
.neonContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    margin: 10px;
    padding: 10px;
    height: 80%;
    width: 80%;
}
.neonContent h2 {
    font-size: 3rem;
    text-transform: uppercase;
}
.neonContent p {
    font-family: 'Roboto', sans-serif;
}
.neonDiv1 h2 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 200;
    font-style: italic;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #0ff,
        0 0 80px #0ff,
        0 0 90px #0ff,
        0 0 100px #0ff,
        0 0 150px #0ff;
}
.neonDiv2 h2 {
    font-family: 'Lobster', cursive;
    font-style: italic;
    font-weight: 400;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #f00,
        0 0 80px #f00,
        0 0 90px #f00,
        0 0 100px #f00,
        0 0 150px #f00;
}
.neonDiv3 h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
    font-style: italic;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #0f0,
        0 0 80px #0f0,
        0 0 90px #0f0,
        0 0 100px #0f0,
        0 0 150px #0f0;
}
.neonDiv4 h2 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 100;
    font-style: italic;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #ff0,
        0 0 80px #ff0,
        0 0 90px #ff0,
        0 0 100px #ff0,
        0 0 150px #ff0;
}
              
            
!

JS

              
                //find me @ wjhenjum.com
              
            
!
999px

Console