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

              
                <html>
<head>
</head>
<body>
<nav class="navbar navbar-default">
  <div class="container-fluid nav1">
  <!---logo--->
  <div class="navbar-header center">
    <button type="button" class="navbar-toggle pull-right" data-toggle="collapse" data-target=".navbar-collapse">
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </button>
    <a href="#" class="navbar-brand"><img src="https://s-media-cache-ak0.pinimg.com/236x/c4/15/ef/c415ef3729bbb18c9f2f141a99975677.jpg" style= "margin-top:-24px;max-height:63px; max-width: 170px;"></a>
  </div>
 <div class="collapse navbar-collapse" >
     <ul class="nav navbar-nav">
       <li class="active home"><a href="#">Home</a></li>
       <li class="about"><a href="#">About</a></li>
       <li class="booking"><a href="#">Booking</a></li>
       <li class="number"><a href="#"> Call Now 2813308004</a></li>
     </ul>
  </div>
    </div>
  </nav>

<div class="container-fluid">
 <div class="stuff">
   <div class="row col-lg-md-8 col-lg-offset-2">
   <p> waiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeow</p>
   
  <p> iwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwa</p>
    
<p>    jfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwa</p>
  
  
  <p>iofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeo</p>
    <p>wiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwa</p>
      <p>jfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowiwaiofjeoiwajfeowi</p>
   </div>
  </div>
  </div>
</body>

</html>
              
            
!

CSS

              
                .ul .nav .navbar-nav{
  text-align:center;
  font-size:10px;
 
}
.navbar-default{
  background-color:#2C3E50;
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

.navbar-default .navbar-brand {
    color:#FFFFFF;
    font-size:25px;
    position: relative;
    left: 300px;
    margin-top: 8px;
    margin-left: -50px !important;  /* 50% of your logo width */
    display: block;
  }
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus{
  color: #18BC9C;
  background-color:transparent;
}
.navbar-default .navbar-nav > li > a{
  color:#FFFFFF;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus{
  
  color:#FFFFFF;
  background-color: #1A242F;
  
}
.navbar-default .navbar-nav >li>a:hover,
.navbar-default .navbar-nav >li>a:focus{
  color:#18BC9C;
  background-color:transparent;
}

.navbar .navbar-collapse {
  text-align: center;
  padding: 1px;
}
.btn-primary{
  background-color:#2C3E50;
  border-color:#2C3E50;
  color:#FFFFFF;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary{
  color:#FFFFFF;
  background-color:#1E2A36;
  border-color:#161Ef2;
  
}
.about{
 
  font-size:20px;
      padding:5px;
}
.home{
  
  position:relative;
  right:6%;
  font-size:20px;
  padding:5px;
}
.booking{
  
  position:relative;
  left:6%;
  font-size:20px;
    padding:5px;
    
}
.number{
  position:relative;
  left:15%;
  font-size:20px;
    padding:5px;
  margin-left:10px;
}

.header{
  padding-top:2%;
  padding-left:10%;
  
}
.header-service-h3{
  font-size:30px;
  margin-top:50px;
  margin-bottom:40px;
}

.row{
   margin-left:20%;
   margin-right:15%;
   padding-top:3%;
}

.primary-btn{
 
  font-size:20px;
  margin-top:10%;
  margin-left:12%;
}

.stuff{
  margin-top:20px;
  background-color:gray;
}
/*
Fade content bs-carousel with hero headers
Code snippet by maridlcrmn (Follow me on Twitter @maridlcrmn) for Bootsnipp.com
Image credits: unsplash.com
*/

/********************************/
/*       Fade Bs-carousel       */
/********************************/
.fade-carousel {
    position: relative;
    height: 100vh;
}
.fade-carousel .carousel-inner .item {
    height: 100vh;
}
.fade-carousel .carousel-indicators > li {
    margin: 0 2px;
    background-color: #f39c12;
    border-color: #f39c12;
    opacity: .7;
}
.fade-carousel .carousel-indicators > li.active {
  width: 10px;
  height: 10px;
  opacity: 1;
}

/********************************/
/*          Hero Headers        */
/********************************/
.hero {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0,0,0,.75);
      -webkit-transform: translate3d(-50%,-50%,0);
         -moz-transform: translate3d(-50%,-50%,0);
          -ms-transform: translate3d(-50%,-50%,0);
           -o-transform: translate3d(-50%,-50%,0);
              transform: translate3d(-50%,-50%,0);
}
.hero h1 {
    font-size: 6em;    
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.fade-carousel .carousel-inner .item .hero {
    opacity: 0;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s; 
        -ms-transition: 2s all ease-in-out .1s; 
         -o-transition: 2s all ease-in-out .1s; 
            transition: 2s all ease-in-out .1s; 
}
.fade-carousel .carousel-inner .item.active .hero {
    opacity: 1;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s; 
        -ms-transition: 2s all ease-in-out .1s; 
         -o-transition: 2s all ease-in-out .1s; 
            transition: 2s all ease-in-out .1s;    
}

/********************************/
/*            Overlay           */
/********************************/
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #080d15;
    opacity: .7;
}

/********************************/
/*          Custom Buttons      */
/********************************/
.btn.btn-lg {padding: 10px 40px;}
.btn.btn-hero,
.btn.btn-hero:hover,
.btn.btn-hero:focus {
    color: #f5f5f5;
    background-color: #1abc9c;
    border-color: #1abc9c;
    outline: none;
    margin: 20px auto;
}

/********************************/
/*       Slides backgrounds     */
/********************************/
.fade-carousel .slides .slide-1, 
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3 {
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.fade-carousel .slides .slide-1 {
  background-image: url(https://ununsplash.imgix.net/photo-1416339134316-0e91dc9ded92?q=75&fm=jpg&s=883a422e10fc4149893984019f63c818); 
}
.fade-carousel .slides .slide-2 {
  background-image: url(https://ununsplash.imgix.net/photo-1416339684178-3a239570f315?q=75&fm=jpg&s=c39d9a3bf66d6566b9608a9f1f3765af);
}
.fade-carousel .slides .slide-3 {
  background-image: url(https://ununsplash.imgix.net/photo-1416339276121-ba1dfa199912?q=75&fm=jpg&s=9bf9f2ef5be5cb5eee5255e7765cb327);
}

/********************************/
/*          Media Queries       */
/********************************/
@media screen and (min-width: 980px){
    .hero { width: 980px; }    
}
@media screen and (max-width: 640px){
    .hero h1 { font-size: 4em; }    
}

@media screen and (max-width:768px){
  p{
    color: white;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console