Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's 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 it's URL and the proper URL extention.

+ 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

Save Automatically?

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

              
                
    <div class="wrap">
      <header id="header">
        <div class="logo">
          <h1>PayBill</h1>
          <img
            id="header-img"
            src="https://www.flaticon.com/svg/static/icons/svg/2936/2936950.svg"
            alt="logo"
          />
        </div>
        <nav id="nav-bar">
          <ul>
            <li>
              <a href="#home" class="nav-link">HOME</a>
            </li>
            <li>
              <a href="#features" class="nav-link">FEATURES</a>
            </li>
            <li>
              <a href="#download" class="nav-link">DOWNLOAD</a>
            </li>
            <li>
              <a href="#contact" class="nav-link">CONTACT</a>
            </li>
          </ul>
        </nav>
      </header>
      <div class="container">
        <section id="home" class="home">
          <div class="box1">
            <img
              class="financial"
              src="https://i.imgur.com/qVVu8XS.png"
              alt=""
            />
          </div>
          <div class="box2">
            <h1 class="text-box">
              Manage Your Finance and Bills in the Simplest Way.
            </h1>
            <p class="text-box">Sends payment due date alerts.</p>
            <p class="text-box">Splits bills.</p>
            <p class="text-box">Cash back 1% annually.</p>
          </div>
        </section>
        <section id="features" class="features">
          <div class="box3">
            <h1>Features overview</h1>
            <img
              src="https://i.imgur.com/ikEmxlT.png"
              class="overview"
              alt=""
            />
          </div>
          <div class="box4">
            <div class="video-container">
              <iframe
                id="video"
                src="https://player.vimeo.com/video/374126921?title=0&portrait=0&byline=0&autoplay=1"
              ></iframe>
            </div>
          </div>
        </section>
        <section id="download" class="download">
          <div class="box5">
            <div class="devices"></div>
            <img src="https://i.imgur.com/VbrN6kG.png" class="dev" alt="" />
          </div>
          <div class="box6">
            <div class="download-text">
              <h1>Available on all devices</h1>
              <div class="button">
                <div class="button-container">
                  <a
                    href="#download"
                    class="btn effect04"
                    data-sm-link-text="download"
                    ><span>download</span></a
                  >
                </div>
              </div>
            </div>
          </div>
        </section>
      </div>

      <footer id="contact">
        <div class="main-footer">
          <div class="left side">
            <h2>Find us on social media</h2>
            <div class="social">
              <a href="#"><span class="fab fa-facebook-f"></span></a>
              <a href="#"><span class="fab fa-twitter"></span></a>
              <a href="#"><span class="fab fa-instagram"></span></a>
              <a href="#"><span class="fab fa-github"></span></a>
            </div>
          </div>
          <div class="center side">
            <h2>Address</h2>
            <div class="place">
              <span class="fas fa-map-marker-alt"></span>
              <span class="footer-text">Fakestreet, City</span>
            </div>
            <div class="phone">
              <span class="fas fa-mobile-alt"></span>
              <span class="footer-text">+222 33 44 567</span>
            </div>
            <div class="place">
              <span class="fas fa-envelope"></span>
              <span class="footer-text">abx@example.com</span>
            </div>
          </div>
          <div class="right side">
            <h2>Subscribe To Our Newsletter!</h2>
            <form id="form" action="">
              <input
                name="email"
                id="email"
                type="email"
                placeholder="  "
                required
              />
              <input
                id="submit"
                type="submit"
                value="Get Started"
                class="btn-subscribe"
              />
            </form>
          </div>
        </div>
      </footer>
    </div>
    <script
      src="https://kit.fontawesome.com/4da0004dfc.js"
      crossorigin="anonymous"
    ></script>
    



              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css?family=Lato|Libre+Baskerville");
@import url("https://fonts.googleapis.com/css?family=Heebo|Oswald");
@import url("https://fonts.googleapis.com/css?family=Codystar|Josefin+Slab&display=swap");
@import url("/font-awesome-4.6.3/css/font-awesome.min.css");
* {
  margin: 0px;
  padding: 0px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*::before, *::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-family: "Oswald", sans-serif;
  color: whitesmoke;
  scroll-behavior: smooth;
}

body {
  background-color: #36393f;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: whitesmoke;
}

a:hover {
  /*box-shadow: 0 0 4px rgba(0, 0, 0, 0.5); */
  text-shadow: 0px 0px 6px rgba(87, 82, 190, 0.7);
  color: #8b87e0;
}

.wrap {
  position: relative;
}

/*.container {
  width: 100%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 650px) {
  .container {
    padding-top: 215px;
  }
}*/
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #2c2f33;
  min-height: 75px;
  padding: 0px 20px;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: 0 solid #5e6c84;
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
          box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#header-img {
  width: 50px;
  height: 50px;
  color: whitesmoke;
  padding: 5px;
}

@media (max-width: 650px) {
  header {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}

.logo {
  color: white;
  text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.7);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.logo h1 {
  font-family: "Codystar", cursive;
  font-size: 50px;
  font-weight: 1900;
}

nav {
  font-weight: 100;
}

@media (max-width: 650px) {
  nav {
    margin-top: 10px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    text-align: center;
    padding: 0 50px;
  }
  nav li {
    padding-bottom: 5px;
  }
}

nav > ul {
  width: 35vw;
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

nav > ul li {
  padding: 10px;
}

@media (max-width: 650px) {
  nav > ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  nav > ul li {
    padding: 3px;
  }
}

.home {
  background-color: #36393f;
  width: 100%;
  padding-top: 250px;
  /*margin-top: 100px;*/
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 60% 40%;
      grid-template-columns: 60% 40%;
}

.home .box1 .financial {
  width: 100%;
}

.home .box2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.home .box2 h1 {
  font-size: 5vw;
  line-height: 1.1;
  padding-bottom: 50px;
  color: white;
}

.home .box2 p {
  padding-bottom: 15px;
  font-size: 1.5vw;
}

.text-box {
  font-style: bold;
  text-align: left;
  margin-left: 50px;
}

@media (max-width: 650px) {
  .home {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
  }
  .home .box1 .financial {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }
  .home .box2 {
    padding-top: 10px;
    margin: 10px;
  }
  .home .box2 h1 {
    font-size: 10vw;
  }
  .home .box2 p {
    padding-bottom: 0;
    font-size: 3.5vw;
  }
}

@media (max-width: 650px) {
  .text-box {
    text-align: center;
    margin: 10px;
    padding: 0;
  }
}

.features {
  /*background-color: #2e3135; */
  background: -webkit-gradient(linear, left top, left bottom, from(#36393f), color-stop(70%, #000000));
  background: linear-gradient(to bottom, #36393f, #000000 70%);
  width: 100%;
  padding-top: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.features .box3 {
  padding-top: 90px;
}

.features .box3 h1 {
  text-align: center;
  padding: 30px;
  font-size: 7vw;
}

.features .box3 .overview {
  max-width: 100%;
  height: auto;
}

.features .box4 {
  width: 60%;
}

@media (max-width: 650px) {
  .features {
    padding: 0;
  }
  .features .box3 {
    padding-top: 25px;
  }
}

.download {
  width: 100%;
  padding-top: 90px;
  /*background-color: #2e3135; */
  background: -webkit-gradient(linear, left top, left bottom, from(black), color-stop(70%, #2e3135));
  background: linear-gradient(to bottom, black, #2e3135 70%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.download .box5 .dev {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

.download .box6 {
  margin: 60px 0;
  padding: 45px;
}

.download .box6 .download-text {
  font-size: 5vw;
  text-align: center;
}

@media (max-width: 650px) {
  .download {
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .download .box5 .dev {
    margin-top: -100px;
  }
  .download .box6 {
    padding: 0px;
  }
}

.button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  /*   padding: 2em 0em; */
}

.button-container {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  background-color: inherit;
  padding: 40px 0px;
  width: 240px;
}

.btn {
  letter-spacing: 0.1em;
  cursor: pointer;
  font-size: 35px;
  font-weight: 400;
  line-height: 95px;
  max-width: auto;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
}

@media (max-width: 650px) {
  .btn {
    font-size: 14px;
    font-weight: 400;
    line-height: 45px;
    max-width: 160px;
  }
}

.btn:hover {
  text-decoration: none;
}

.effect04 {
  --uismLinkDisplay: var(--smLinkDisplay, inline-flex);
  display: var(--uismLinkDisplay);
  color: #8b87e0;
  outline: solid 2px #8b87e0;
  position: relative;
  -webkit-transition-duration: 0.4s;
          transition-duration: 0.4s;
  overflow: hidden;
}

.effect04::before,
.effect04 span {
  margin: 0 auto;
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
          transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-duration: 0.4s;
          transition-duration: 0.4s;
}

.effect04:hover {
  background-color: #8b87e0;
}

.effect04:hover span {
  -webkit-transform: translateY(-400%) scale(-0.1, 20);
  transform: translateY(-400%) scale(-0.1, 20);
}

.effect04::before {
  content: attr(data-sm-link-text);
  color: white;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  -webkit-transform: translateY(500%) scale(-0.1, 20);
  transform: translateY(500%) scale(-0.1, 20);
}

.effect04:hover::before {
  letter-spacing: 0.05em;
  -webkit-transform: translateY(0) scale(1, 1);
  transform: translateY(0) scale(1, 1);
}

footer {
  background: #2c2f33;
  padding-top: 90px;
}

.main-footer {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.main-footer .side {
  padding-top: 20px;
  -ms-flex-preferred-size: 50%;
      flex-basis: 50%;
  padding: 10px 20px;
}

.main-footer .left h2 {
  padding: 15px;
}

.main-footer .left .social {
  padding: 15px;
}

.main-footer .center h2 {
  padding: 15px 0;
}

.main-footer .center .fas {
  padding: 0 5px 0 0;
}

.main-footer .right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
}

.main-footer h2 {
  padding: 15px;
}

.main-footer #email {
  background-color: #3b3c3d;
  color: whitesmoke;
  max-width: 275px;
  width: 100%;
  padding: 5px;
  font-family: "Oswald", sans-serif;
  border: none;
}

.main-footer #submit {
  max-width: 150px;
  width: 100%;
  height: 30px;
  margin: 15px 0;
  border: 0;
  border-radius: 25px;
  -webkit-transition: background-color 1s;
  transition: background-color 1s;
  font-family: "Oswald", sans-serif;
  font-weight: 900;
}

.main-footer #submit:hover {
  background-color: #8b87e0;
}

.social span {
  height: 40px;
  width: 40px;
  background-color: #1a1a1a;
  line-height: 40px;
  text-align: center;
  font-size: 18px;
  border-radius: 5px;
}

.social span:hover {
  background: #8b87e0;
  color: black;
  transition: background-color 1s;
}

@media (max-width: 650px) {
  .main-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    text-align: center;
  }
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /*16:9*/
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border: none;
}

              
            
!

JS

              
                
              
            
!
999px

Console