123

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.

            
              <nav id="nav-menu-logo-social" class="navbar navbar-light py-lg-3 navbar-expand-lg">
    <div class="container-fluid">
       
            <div class="col-auto col-lg-2 order-lg-2 text-center">
                <a class="navbar-brand mr-0" href="#">
                    <i class="far fa-gem fa-2x"></i>
                </a>
            </div>
       
            <div class="d-block d-lg-none d-xl-none">
               <button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target=".main-menu-collapse" aria-controls="navbarMenuContent" aria-expanded="false" aria-label="Toggle navigation">
                     <span class="icon-bar"></span>
                </button>
            </div>
            
            <div class="col-lg-5 order-lg-1 collapse navbar-collapse main-menu-collapse">
                <ul class="navbar-nav">
                    <li class="nav-item active">
                        <a class="nav-link" href="#">Navbar link</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">Navbar link</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">Navbar link</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">Navbar link</a>
                    </li>
                </ul>
            </div>
            <div class="col-lg-5 order-lg-3 collapse navbar-collapse main-menu-collapse justify-content-lg-end">
                <div class="navbar-text">
                    Lorem ipsum dolor sit amet
                </div>
            </div>
    </div>
</nav>

<header class="section-carousel">
    
  <div class="carousel-single owl-carousel owl-drag owl-theme">
        
    <div class="carousel-item w-100 d-flex align-items-center" style="background-image: url('https://source.unsplash.com/random/1920x1080');">
      <div class="container">
          <div class="row">
              <div class="col text-center text-white">
                  <h2 class="h1 text-uppercase"><strong>Slide #1</strong></h2>
                  <p class="text-uppercase small">Shine bright like a diamond</p>
                  <a href="#" class="btn btn-primary">Read more</a>
              </div>
          </div>
      </div>
    </div>
    
    <div class="carousel-item w-100 d-flex align-items-center" style="background-image: url('https://source.unsplash.com/random/1920x1080');">
      <div class="container">
          <div class="row">
              <div class="col text-center text-white">
                  <h2 class="h1 text-uppercase "><strong>Slide #2</strong></h2>
                  <p class="text-uppercase small">Like diamonds in the sky</p>
                  <a href="#" class="btn btn-primary">Read more</a>
              </div>
          </div>
      </div>
    </div>
    
  </div>
  
</header>

<section id="gallery-2col" class="gallery py-5">
    <div class="container">
        <div class="mb-4 text-center section-header">
            <h3 class="text-uppercase section-title"><strong>Gallery</strong></h3>
        </div>
        <div class="row gallery-list">
            <div class="col-md-6 my-2 my-md-3 gallery-item">
                <a href="#" class="item-link text-white">
                    <div class="item-image">
                      <img src="https://source.unsplash.com/random/1024x576" alt="" class="img-fluid item-img">
                    </div>
                    <div class="text-center item-content">
                        <div class="h4 mb-0 text-uppercase item-title"><p class="mb-1"><strong>Gallery item</strong></p></div>
                        <div class="text-uppercase item-subtitle"><p class="small mb-0">Lorem ipsum</p></div>
                    </div>
                </a>
            </div>
            <div class="col-md-6 my-2 my-md-3 gallery-item">
                <a href="#" class="item-link text-white">
                    <div class="item-image">
                      <img src="https://source.unsplash.com/random/1024x576" alt="" class="img-fluid item-img">
                    </div>
                    <div class="text-center item-content">
                      <div class="h4 mb-0 text-uppercase item-title"><p class="mb-1"><strong>Gallery item</strong></p></div>
                      <div class="text-uppercase item-subtitle"><p class="small mb-0">Lorem ipsum</p></div>
                  </div>
                </a>
            </div>
            <div class="col-md-6 my-2 my-md-3 gallery-item">
                <a href="#" class="item-link text-white">
                    <div class="item-image">
                      <img src="https://source.unsplash.com/random/1024x576" alt="" class="img-fluid item-img">
                    </div>
                    <div class="text-center item-content">
                      <div class="h4 mb-0 text-uppercase item-title"><p class="mb-1"><strong>Gallery item</strong></p></div>
                      <div class="text-uppercase item-subtitle"><p class="small mb-0">Lorem ipsum</p></div>
                    </div>
                </a>
            </div>
            <div class="col-md-6 my-2 my-md-3 gallery-item">
                <a href="#" class="item-link text-white">
                    <div class="item-image">
                      <img src="https://source.unsplash.com/random/1024x576" alt="" class="img-fluid item-img">
                    </div>
                    <div class="text-center item-content">
                        <p class="h4 mb-1 text-uppercase item-title"><strong>Gallery item</strong></p>
                        <p class="small mb-0 text-uppercase item-subtitle">Lorem ipsum</p>
                    </div>
                </a>
            </div>
        </div>
    </div>
</section>

<footer id="contact-form-map" class="bg-light py-5">
    <div class="container">
        <div class="mb-4 text-center section-header">
            <h3 class="text-uppercase section-title"><strong>Contact</strong></h3>
        </div>
        <div class="row align-items-center">
            <div class="col-md-6 col-lg-4">
                <p class="small">In our work we try to use only the most modern, convenient and interesting solutions.</p>
                <form action="./scripts/request.php" class="contact_form mb-30 form-vertical" id="contact-form-map-form" novalidate="novalidate">
                    <div class="form-group text-field-group"><input type="text" class="spr-text-field form-control " placeholder="Full name" name="NAME" size="10"></div>
                    <div class="form-group email-field-group"><input type="email" class="spr-email-field form-control spr-form-required" placeholder="Email Address" name="EMAIL" size="10"></div>
                    <div class="form-group textarea-group"><textarea class="spr-textarea form-control " placeholder="Your message or question" rows="5" name="MESSAGE"></textarea></div>
                    <button type="submit" data-loading-text="•••" data-complete-text="Completed!" data-reset-text="Try again later..." class="btn btn-block btn-dark"><span class="spr-option-textedit-link">Send</span></button>
                </form>
            </div>
            <div class="col-md-6 col-lg-4">
              <div class="row">
                  <div class="col-12">
                    <div class="content-box d-xl-flex align-items-center px-3">
                      <div class="text-center mr-sm-4" style="width: 2rem;">
                          <i class="fas fa-phone fa-2x"></i>
                      </div>
                      <div>
                          <p class="small text-uppercase text-muted mb-1">Phone</p>
                          <h5 class="mb-3"><a class="text-dark" href="tel:(252) 654 9879"><strong>(252) 654 9879</strong></a></h5>
                      </div>
                  </div>
              </div>
              <div class="col-12">
                <div class="content-box d-xl-flex align-items-center px-3">
                  <div class="text-center mr-sm-4" style="width: 2rem;">
                      <i class="fas fa-map-marker-alt fa-2x"></i>
                  </div>
                  <div>
                      <p class="small text-uppercase text-muted mb-1">Address</p>
                      <h5 class="mb-3"><strong>172 Pawn Street</strong></h5>
                  </div>
                </div>
              </div>
              <div class="col-12">
                <div class="content-box d-xl-flex align-items-center px-3">
                  <div class="text-center mr-sm-4" style="width: 2rem;">
                      <i class="far fa-envelope fa-2x"></i>
                  </div>
                  <div>
                      <p class="small text-uppercase text-muted mb-1">Mail</p>
                      <h5 class="mb-3"><a class="text-dark" href="mailto:johndoe@unknow.co"><strong>johndoe@unknow.co</strong></a></h5>
                  </div>
                </div>
              </div>
          </div>
      </div>
            <div class="col-md-12 col-lg-4">
              <div class="embed-responsive embed-responsive-1by1">
                <iframe class="embed-responsive-item" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d423286.27405770525!2d-118.69192047471653!3d34.02016130653294!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x80c2c75ddc27da13%3A0xe22fdf6f254608f4!2sLos+Angeles%2C+Californie%2C+%C3%89tats-Unis!5e0!3m2!1sfr!2sfr!4v1540481258091" width="450" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
              </div>
          </div>
    </div>
  </div>
</footer>

            
          
!
            
              body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}

.navbar-toggler {
   display: flex;
   justify-content: center;
   align-items: center;
   height: 25px;
   width: 25px;
   padding: 0;
   border: none;
   &:hover, &:focus {
      outline: 0;
   }
   .icon-bar {
      position: relative;
      display: block;
      margin: 0 auto;
      width: 24px;
      height: 3px;
      background: #000;
      transition: all .3s ease;
      will-change:transform;
      &:before, 
      &:after {
         content: '';
         position: absolute;
         background: #000;
         top: 0;
         width: auto;
         height: 100%;
         transition: .3s;
         will-change:transform;
       }
       &:before {
         left: 0;
         right: 0;
         transform: translate(0,-7px);
       }
       &:after {
         left: 0;
         right: 0;
         transform: translate(0,7px);
       }
   }
   &:not(.collapsed) {
      .icon-bar {
         background: 0;
         &:before, 
         &:after { 
            left: 0;
            right: 0;
         }
         &:before {
            transform: rotate(135deg);
         }
         &:after {
            transform: rotate(45deg);
         }
      }
   }
}

.gallery-item {
  position: relative;
  .item-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.carousel-item {
  padding: 15vw 0;
  background-size:cover; 
  background-position:center;
}
            
          
!
            
              $(".owl-carousel").owlCarousel({
  items: 1
});
            
          
!
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.

Console