<!-- 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>
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;
}
//find me @ wjhenjum.com
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.