JSFiddle - React, Tailwind, and code Playground

by zachreynolds

HTML

<style>
    #overlay {
      display: none;
      position: fixed;
      top: 0%;
      left: 0%;
      width: 100%;
      height: 100%;
      background-color: black;
      z-index: 0;
      -moz-opacity: 0.75;
      opacity: .75;
      filter: alpha(opacity=75);
    }
    
    #popup {
      font: normal 14px 'Open Sans';
      display: none;
      position: fixed; 
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      margin: auto;
      min-width: 260px;
      max-width: 500px;
      min-height: 200px;
      max-height: 335px;
      padding: 0px 0px 0px 0px;
      border: 10px solid rgba(210, 0, 0, 1);
      background-color: white;
      z-index: 0;
      overflow: auto;
    }

    .donatebuttonred {
      cursor: pointer;
      color: #fff;
      font: normal 20px 'Open Sans';
      font-weight: bold;
      border-radius: 0px;
      background: rgba(210, 0, 0, 1);
      width: 175px;
      padding: 5px 5px 10px 5px !important;
      height: 20px;
      position: relative;
      top: 0%;
      margin: 47px 0px 0px 0px !important;
      left: 50%;
      /* bring your own prefixes */
      transform: translate(-50%, -50%);
      box-shadow: 0px 5px 5px 0px #aaa;
      text-align: center;
      border: 1px solid #700;

    }

    #popup .close {
      cursor: pointer;
      color: #fff;
      font: normal 20px 'Open Sans';
      font-weight: bold;
      float: right;
      margin: 4px 5px 0px 0px;
      border-radius: 5px;
      background: #c00;
      width: 20px;
      padding: 1px 0px 8px 8px;
      height: 20px;
    }

    

    #popup p {
      font: normal 18px 'Open Sans';
      padding: 5px 10px 5px 10px;
      margin: 0px 0px 0px 0px;


    }
  </style>

 
<div id="popup">
    <div href="" class="close">X</div>
    <p>We're new, under funded and looking to expand with your help. <br><br>Please consider donating a small one time or reoccurring amount of your choice, it will make a difference. <br><br> We offer teir <b><u>rewards</u></b>...