JSFiddle - React, Tailwind, and code Playground

by mkurzweil

HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css">
<header>
  <div class="sticky">
    <div class="container">
      <div class="row">
        <div class="col-lg-12">
          <div class="logo">
            <a href="#">
	 							<i class="fab fa-foursquare"></i>
	 						</a>
          </div>
          <div class="main-nav collapse navbar-collapse">
            <ul>
              <li>
                <a href="index.html">Home</a>
              </li>
              <li>
                <a href="gameplay.html">Gameplay</a>
              </li>
              <li>
                <a href="players.html">players</a>
              </li>
              <li>
                <a href="battle-pass.html">battle pass</a>
              </li>
              <li>
                <a href="skins.html">skins</a>
              </li>
              <li>
                <a href="about.html">about</a>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="up_text">
    <div class="container">
      <div class="row">
        <div class="col-lg-12">
          <h1>FORTNITE</h1>
        </div>
      </div>
    </div>
  </div>
  <div class="down_text">
    <div class="container">
      <div class="row">
        <div class="col-lg-12">
          <a href="#"><button type="button" class="button-play pop-up">START PLAYING!</button></a>
          <p>WELCOME TO THE BEST BATTLE ROYAL GAME EVER MADE!</p>
        </div>
      </div>
    </div>
  </div>
</header>

CSS

header {
  background: url('../img/2.jpg') no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 100vh;
}

header .sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
}

header .sticky:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: #000;
  height: 90px;
  opacity: 0.8;
}

header .sticky .logo {
  float: left;
}

header .sticky .logo i {
  font-size: 50px;
  margin-top: 19px;
  color: white;
  animation-name: logo;
  animation-duration: 2s;
  transition-property: transform;
  transition-duration: 1s;
}

.logo i:hover {
  transform: rotateY(180deg);
}

header .sticky .main-nav {
  float: right;
  margin-top: 32px;
}

header .sticky .main-nav ul li {
  display: inline-block;
  margin-right: 20px;
}

header .sticky .main-nav a {
  text-transform: uppercase;
  color: #FFF;
  font-weight: bold;
  font-size: 18px;
  font-family: 'Raleway', sans-serif;
  transition: 0.5s;
}

header .sticky .main-nav ul li a:hover {
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
  text-decoration: none;
}

header .up_text {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  text-align: center;
  width: 100%;
  color: #FFF;
}

header .down_text {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  text-align: center;
  width: 100%;
  color: #FFF;
}

header .up_text h1 {
  font-size: 80px;
  font-weight: bold;
  font-family: 'Acme', sans-serif;
  letter-spacing: 3px;
  text-shadow: 2px 2px 2px #ACAD9E;
  animation: heading;
  animation-duration: 5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes heading {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}

header .down_text .button-play {
  position: relative;
  width: 270px;
  height: 56px;
  background: #ffa84c;
  /* Old browsers */
  background: -webkit-linear-gradient(#ffa84c 0%, #ff7b0d 100%);
  background: -o-linear-gradient(#ffa84c 0%, #ff7b0d 100%);
  background:...

JavaScript

$(document).ready(function() {
  $(".button-play").mouseover(function() {
    if ($(".button-play").hasClass("pop-up")) {
      $(this).removeClass("pop-up");
    } else {
      // do something
    }
  });
});