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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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

              
                <head>
  <meta charset="utf-8">
  <title>Fluffy Moo</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css" />
  <link rel="stylesheet" href="css/styles.css">
</head>

<body>

  <section id="title">

    <div class="container-fluid">
      <!-- Nav Bar -->
      <nav class="navbar navbar-expand-lg navbar-dark">
        <a class="navbar-brand" a href="#">Fluffy Moo</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarSupportedContent">

          <ul class="navbar-nav ml-auto">
            <li class="nav-item"><a class="nav-link" href="#features">Features</a></li>
            <li class="nav-item"><a class="nav-link" href="#pricing">Pricing</a></li>
            <li class="nav-item"><a class="nav-link" href="#cta">Download</a></li>
          </ul>
        </div>
      </nav>

      <!-- Title -->
      <div class="pt-5 container">
        <div class="row">
          <div class="col-lg-6">
            <h1>The easiest way to adopt your plushie cow!</h1>
            <button type="button" class="btn btn-dark btn-lg download-button"> <i class="fab fa-apple"></i> Download</button>
            <button type="button" class="btn btn-outline-light btn-lg download-button"><i class="fab fa-google-play"></i> Download</button>
          </div>
          <div class="col-lg-6">
            <img src="https://assets.codepen.io/1331401/iphone.png" class="animate__animated animate__fadeInDown iphone" alt="iphone-mockup">
          </div>
        </div>
      </div>
    </div>
    </div>
  </section>

  <!-- Features -->

  <section id="features">

    <div class="row">

      <div class="feature-box col-lg-4">
        <i class="fas fa-check-circle fa-4x"></i>
        <h3>Easy to use</h3>
        <p>A simple interface built with moo-tastic features.</p>
      </div>

      <div class="feature-box col-lg-4">
        <i class="fas fa-bullseye fa-4x"></i>
        <h3>Highest Quality</h3>
        <p>We have a variety of plushie cows for everyone.</p>
      </div>

      <div class="feature-box col-lg-4">
        <i class="fas fa-heart fa-4x"></i>
        <h3>100% Guaranteed</h3>
        <p>Find your perfect plushie cow or your money back.</p>
      </div>

    </div>

  </section>

  <!-- Testimonials -->

  <section id="testimonials">

    <div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
      <div class="carousel-inner">
        <div class="carousel-item active">
          <h2>I found the perfect plushie that fits my personality! So happy for the Fluffy Moo app.</h2>
          <img class="testimonial-image" src="https://assets.codepen.io/1331401/cowlove.jpg" alt="cow-profile">
          <em>RC, New York</em>
        </div>
        <div class="carousel-item">
          <h2>I udderly adore my plushie cow. She is so sweet! Thanks, Fluffy Moo!</h2>
          <img class="testimonial-image" src="https://assets.codepen.io/1331401/cowlove2.jpg" alt="cow-profile">
          <em>Betsy, New York</em>
        </div>
      </div>
      <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
        <span class="carousel-control-prev-icon" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
      </a>
      <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
        <span class="carousel-control-next-icon" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
      </a>
    </div>

  </section>

  <!-- Press -->

  <section id="press">
    <img class="press-logo" src="https://assets.codepen.io/1331401/TechCrunch.png" alt="tc-logo">
    <img class="press-logo" src="https://assets.codepen.io/1331401/bizinsider.png" alt="biz-insider-logo">
    <img class="press-logo" src="https://assets.codepen.io/1331401/mashable.png" alt="mashable-logo">

  </section>

  <!-- Pricing -->

  <section id="pricing">

    <h2>A Plan for Every Cow's Needs</h2>
    <p>Simple and affordable price plans for your and your cow.</p>

    <div class="row">

      <div class="pricing-column col-lg-4 col-md-6">
        <div class="card">
          <div class="card-header">
            <h3>Cranky Cow</h3>
          </div>
          <div class="card-body">
            <h2>Free</h2>
            <p>5 Matches Per Day</p>
            <p>10 Messages Per Day</p>
            <p>Unlimited App Usage</p>
            <button type="button" class="btn btn-lg btn-block btn-outline-dark">Sign Up</button>
          </div>
        </div>
      </div>

      <div class="pricing-column col-lg-4 col-md-6">
        <div class="card">
          <div class="card-header">
            <h3>Sweet Cow</h3>
          </div>
          <div class="card-body">
            <h2>$49 / mo</h2>
            <p>Unlimited Matches</p>
            <p>Unlimited Messages</p>
            <p>Unlimited App Usage</p>
            <button type="button" class="btn btn-lg btn-block btn-dark">Sign Up</button>
          </div>
        </div>
      </div>

      <div class="pricing-column col-lg-4">
        <div class="card">
          <div class="card-header">
            <h3>Relaxed Cow</h3>
          </div>
          <div class="card-body">
            <h2>$99 / mo</h2>
            <p>Priority Listing</p>
            <p>Unlimited Matches</p>
            <p>Unlimited Messages</p>
            <p>Unlimited App Usage</p>
            <button type="button" class="btn btn-lg btn-block btn-dark">Sign Up</button>
          </div>
        </div>

      </div>
    </div>

  </section>

  <!-- Call to Action -->

  <section id="cta">

    <h3 class="cta-title">Adopt the cow of your dreams today.</h3>
    <button type="button" class="btn btn-dark btn-lg cta-button"> <i class="fab fa-apple"></i> Download</button>
    <button type="button" class="btn btn-outline-light btn-lg cta-button"><i class="fab fa-google-play"></i> Download</button>

  </section>

  <!-- Footer -->

  <footer id="footer">
    <i class="fab fa-facebook-f social"></i>
    <i class="fab fa-instagram social"></i>
    <i class="fab fa-twitter social"></i>

    <p>© Copyright 2020 Fluffy Moo. All Rights Reserved.</p>

  </footer>
  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
  <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
  <script src="https://kit.fontawesome.com/d729c30424.js" crossorigin="anonymous"></script>
</body>
              
            
!

CSS

              
                /* Color palette */
/* https://colorhunt.co/palette/192017 */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ubuntu&display=swap");

body {
  font-family: "Ubuntu", sans-serif;
}

#title {
  background: rgb(232, 74, 95);
  background: linear-gradient(
    180deg,
    rgba(232, 74, 95, 1) 0%,
    rgba(255, 132, 124, 1) 100%
  );
  background-attachment: fixed;
}

.iphone {
  width: 23rem;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  line-height: 1.5;
  color: white;
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  line-height: 1.5;
}
h3 {
  font-family: "Montserrat", sans-serif;
}

p {
  color: #8f8f8f;
}

.container-fluid {
  padding: 9% 15%;
}
/* Navigation*/

.navbar-brand {
  font-size: 1.5rem;
}

.nav-item {
  padding: 0 1.125rem;
}

.nav-link {
  font-size: 1.2rem;
  font-family: "Montserrat-Light", sans-serif;
}

/*Buttons*/
.download-button {
  padding: 3% 5%;
}

/* Features*/

#features {
  padding: 7% 15%;
  background-color: white;
  position: relative;
}
.feature-box {
  text-align: center;
  padding: 2%;
}

.fas {
  color: #e84a5f;
  margin: 1rem;
}

.fas:hover {
  transition-duration: 0.4s;
  color: #ff847c;
}

/*Testimonials*/

#testimonials {
  text-align: center;
  color: #fff;
  background: rgb(232, 74, 95);
  background: linear-gradient(
    180deg,
    rgba(232, 74, 95, 1) 0%,
    rgba(255, 132, 124, 1) 100%
  );
  background-attachment: fixed;
}

.testimonial-image {
  width: 20%;
  border-radius: 100%;
  margin: 1.25rem;
}

#press {
  text-align: center;
  padding-bottom: 3%;
  background: rgb(232, 74, 95);
  background: linear-gradient(
    180deg,
    rgba(232, 74, 95, 1) 0%,
    rgba(255, 132, 124, 1) 100%
  );
  background-attachment: fixed;
}

.press-logo {
  width: 15%;
  margin: 1.5rem 1.5rem 3.125rem;
  filter: brightness(0) invert(1) opacity(50%);
}

.press-logo:hover {
  transition-duration: 0.4s;
  filter: brightness(0) invert(1) opacity(75%);
}

.carousel-item {
  padding: 7% 15%;
}

/* Pricing */

#pricing {
  padding: 6.25rem;
  text-align: center;
}

.pricing-column {
  padding: 3% 2%;
}

/*--MEDIA QUERIES--*/

@media (max-width: 1028px) {
  .iphone {
    width: 20rem;
  }

  #title {
    text-align: center;
  }
}

/*--CTA--*/

#cta {
  text-align: center;
  color: #fff;
  background: rgb(232, 74, 95);
  background: linear-gradient(
    180deg,
    rgba(232, 74, 95, 1) 0%,
    rgba(255, 132, 124, 1) 100%
  );
  background-attachment: fixed;
  padding: 7% 15%;
}

.cta-title {
  padding: 5%;
  font-size: 3rem;
}

.cta-button {
  margin: 1rem;
}

#footer {
  background: white;
  text-align: center;
  padding: 7% 15%;
}

.social {
  margin: 1rem;
}

              
            
!

JS

              
                
              
            
!
999px

Console