css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <footer class="container">
  <div class="row">
    <div class="menu">
      <nav class="navbar navbar-expand-lg navbar-light bg-light">
        <a class="navbar-brand" href="#">Vacation Rentals</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 mr-auto">
            <li class="nav-item active">
              <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="#">Trip Description</a>
              <li class="nav-item">
                <a class="nav-link disabled" href="#">About Us</a>
              </li>
              <li class="nav-item">
                <a class="nav-link disabled" href="#">Book Travels</a>
              </li>
              <li class="nav-item">
                <a class="nav-link disabled" href="#">Reservations</a>
              </li>
          </ul>
          <form class="form-inline my-2 my-lg-0">
            <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
            <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
          </form>
        </div>
      </nav>
    </div>
  </div>
  <div class="row">
    <header class="col jumbotron jumbotron-fluid">
      <div class="container-fluid">
        <strong><h1 class="display-4 text-light">Best Vacation Rentals</h1></strong>
      <strong><p class="lead text-light">Sed placerat fringilla quam et.</p></strong>
      <button type="button" class="btn btn-primary btn-lg">Start Now!</button>
      </div>
    </header>
  </div>
  <div class="row">
    <div class="col-sm pb-4">
      <a href="#">
        <img class="img-fluid mx-auto d-block mt-4 mb-2 rounded-circle" src="https://images.unsplash.com/photo-1427097829427-56a905bf7004?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&fit=max&s=ed5baaa96c051e370f059f1d2eb3c227" alt=""></a>
      <h3 class="text-center mb-2">Type 1</h3>
      <p>
        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. 
      </p>
      <button class="btn btn-success">Book Now @ $599></button>
    </div>
    <div class="col-sm pb-4">
      <a href="#">
        <img class="img-fluid mx-auto d-block mt-4 mb-2 rounded-circle" src="https://images.unsplash.com/photo-1473496169904-658ba7c44d8a?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&fit=max&s=ca9f0a95d0cff8019f8edd8228ef0279" alt="">
      </a>
      <h3 class="text-center mb-2">Type 2</h3>
      <p>
        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
      </p>
      <button class="btn btn-danger">Book Now @ $899></button>
    </div>
    <div class="col-sm pb-4">
      <a href="#">
        <img class="img-fluid mx-auto d-block mt-4 mb-2 rounded-circle" src="https://images.unsplash.com/photo-1440778303588-435521a205bc?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&fit=max&s=436ad7567b8c0da884ca42fcdaee4db0" alt="">
      </a>
      <h3 class="text-center mb-2">Type 3</h3>
      <p>
        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
      </p>
      <button class="btn btn-info">Book Now @ $699</button>
    </div>
  </div>
  <footer class="row pt-4">
    <div class="col-sm">
      <small><p>&copy; 2018</p></small>
    </div>  
    <div class="col-sm">
      <ul class="list-inline">
        <li class="list-inline-item">
          <a href="#">About Us</a>
        </li>
        <li class="list-inline-item">
          <a href="#">Support 24x7</a>
        </li>
        <li class="list-inline-item">
          <a href="#">Privacy Policy</a>
        </li>
      </ul>
    </div>
    <div class="col-sm">
      <small><p class="text-right">Vacation Rentals</p></small>
    </div>
  </footer>

            
          
!
            
              .col-sm img {
  width: 200px;
  height: 200px;
}

.jumbotron {
  background: #222 url(https://images.unsplash.com/photo-1490380169520-0a4b88d52565?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&fit=max&s=a800618e01707bb9265bee445b736a37) center center no-repeat;
  background-size: cover;
}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console