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.

            
              <html lang="en">

<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

  <!-- Bootstrap CSS -->
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  <link href="https://fonts.googleapis.com/css?family=Patua+One" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Hind" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=PT+Sans" rel="stylesheet">
  <link rel="stylesheet" href="styles.css">
  <title>Codify Challenge</title>
</head>

<body>
  <nav class="navbar navbar-expand-lg navbar-light container-fluid " style="background-color: #99ccff;">
    <div class="container">
        <!-- <a class="d-none d-xs-block d-sm-block d-md-none"><i class="fas fa-heart" style="font-size: 20px;">as</i></a> -->
      <a class="navbar-brand  text-sm-left d-block d-lg-none"><i class="fas fa-heart"></i>COLORFUL FLAT</a>
      <a class="navbar-brand  text-sm-left d-none d-md-none d-lg-block d-xl-block" style="font-size: 40px;"><i class="fas fa-heart" style="font-size: 40px;"></i>COLORFUL FLAT</a>
      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>
      <div class="collapse navbar-collapse" id="navbarNavDropdown">
        <ul class="navbar-nav mx-auto">
          <li class="nav-item active">
            <a class="nav-link text-left pr-4" href="#">Home</a>
          </li>
          <li class="nav-item active">
            <a class="nav-link text-left pr-4 mr-2 active" href="#">Services</a>
          </li>
          <li class="nav-item text-left pr-4 mr-2 active">
            <a class="nav-link" href="#">Portfolio</a>
          </li>
          <li class="nav-item text-left pr-4 mr-2 active">
            <a class="nav-link" href="#">Blog</a>
          </li>
          <li class="nav-item text-left pr-4 mr-2 active">
            <a class="nav-link" href="#">Contact</a>
          </li>

        </ul>
      </div>
    </div>
  </nav>

<!--desktop first image-->
  <div div id="carouselExampleControls" class="carousel slide " data-ride="carousel">
    <div class="carousel-item active" style="background-color: #99ccff;">
      <div class="row">
        <div class="col-lg-12 col-md-12 col-sm-12 pl-5"><img class="img-fluid img-01" src="https://s26.postimg.org/47wshrnuh/devices.png" alt="First slide"></div>
      </div>
    </div>
    <ol class="carousel-indicators">
      <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
      <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
      <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
    </ol>
  </div>
<!--/desktop first image-->


  <div class="container pt-5 pl-5" style="text-align: center;">
    <div class="row">
      <div class="col-sm-4 col-md-4 col-lg-4">
        <img src="https://s26.postimg.org/by8609i09/imac.png" alt="imac and iphone" class="img-fluid">
        <h4>Flat Design</h4>
        <p class="">"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et quam est. Mauris faucibus tellus ac auctor posuere.</p>
      </div>
      <div class="col-sm-4 col-md-4 col-lg-4">
        <img src="https://s26.postimg.org/syr28y2rd/litbulb.png" alt="">
        <h3>Great Ideas</h3>
        <p class="">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et quam est. Mauris faucibus tellus ac auctor posuere.</p>
      </div>
      <div class="col-sm-4 col-md-4 col-lg-4">
        <img src="https://s26.postimg.org/esbbdpcgp/browser.png" alt="">
        <h4>Browser Compability</h4>
        <p class="">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et quam est. Mauris faucibus tellus ac auctor posuere.</p>
        <p></p>
      </div>
    </div>
  </div>

  <div class="container-fluid" style="background-color: #9dd5a8;">
    <h1 class="p-1 pt-4" style="text-align: center;">RECENT WORKS</h1>
    <p class="p-1" style="font-family: 'Hind', sans-serif; text-align: center; font-size: 12px;">Lorem ipsum dolor sit amet, consectetur adipiscing elit,<br/>sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
    <ul class="nav nav-pills pill-center" style="font-family: 'PT Sans', sans-serif; display: flex; justify-content:center; font-size: 15px;">
      <li class="nav-item">
        <a class="nav-link nav-2 pr-3" href="#">ALL</a>
      </li>
      <li class="nav-item">
        <a class="nav-link nav-2 pr-3" href="#">WEB</a>
      </li>
      <li class="nav-item">
        <a class="nav-link nav-2 pr-3" href="#">MOBILE</a>
      </li>
      <li class="nav-item">
        <a class="nav-link nav-2 pr-3" href="#">PHOTOGRAPHY</a>
      </li>
      <li class="nav-item">
        <a class="nav-link nav-2 pr-3" href="#">DESIGN</a>
      </li>
      <li class="nav-item">
        <a class="nav-link nav-2 pr-3" href="#">TYPE</a>
      </li>
    </ul>
  </div>

  <div class="container-fluid text-center" style="background-color: #9dd5a8;">
    <div class="row pl-4 pr-4">
      <div class="col-xs-4 col-sm-12 col-md-4 col-lg-4 mb-5 mt-4">
        <img src="https://s26.postimg.org/u69lf5ic9/bird_1.png" alt="" class="img-fluid">
      </div>
      <div class="col-sm-12 col-md-4 col-lg-4 mb-5 mt-4">
        <img src="https://s26.postimg.org/itwzxe4ih/bird_2.png" alt="" class="img-fluid">
      </div>
      <div class="col-sm-12 col-md-4 col-lg-4 mb-5 mt-4">
        <img src="https://s26.postimg.org/klpysag5l/bird_3.png" alt="" class="img-fluid">
      </div>
      <div class="col-sm-12 col-md-4 col-lg-4 mb-5">
        <img src="https://s26.postimg.org/hevf8nnzt/bird_4.png" alt="" class="img-fluid">
      </div>
      <div class="col-sm-12 col-md-4 col-lg-4 mb-5">
        <img src="https://s26.postimg.org/kyhcygizt/bird_5.png" alt="" class="img-fluid">
      </div>
      <div class="col-sm-12 col-md-4 col-lg-4 mb-5">
        <img src="https://s26.postimg.org/ouuougyuh/bird_6.png" alt="" class="img-fluid">
      </div>
    </div>
    <button type="button" class="btn btn-outline-primary mb-5">SHOW MORE</button>
  </div>

  <div class="container-fluid pl-4 pr-4">
    <div class="row justify-content-center">
      <div class="col-lg-4 col-md-12 col-xs-12 pl-5">
        <img src="https://s26.postimg.org/pcuw7l7nd/big_browser.png" alt="" class="img-fluid pt-5" style="border: 0px;">
      </div>
      <div class="col-lg-8 col-md-12 col-xs-12 pl-5" style="background-color: #fff;">
        <h1 class="pt-5">Layered Neatly Photoshop Template</h1>
        <p class="mb-3" style="margin: 20px 0; font-size: 23px;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et quam est. Mauris faucibus tellus ac auctor posuere. Integer lobortis purus a felis adipiscing, eget ornare justo semper. Etiam commodo tincidunt ante.</p>
        <button type="button" class="btn btn-outline-primary bt2 text-left ">SHOW MORE</button>
      </div>
    </div>
  </div>
  <hr width="90%" style="background-color: grey;" class="mt-5">
  <div class="container-fluid pl-4 pr-4">
    <div class="row">
      <div class="col-lg-8 col-md-12 col-sm-12 col-xs-12 pl-5" style="background-color: #fff;">
        <h1 class="pt-5">Layered Neatly Photoshop Template</h1>
        <p class="mb-3" style="margin: 20px 0; font-size: 23px;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et quam est. Mauris faucibus tellus ac auctor posuere. Integer lobortis purus a felis adipiscing, eget ornare justo semper. Etiam commodo tincidunt ante.</p>
        <button type="button" class="btn btn-outline-primary bt2 text-left ">SHOW MORE</button>
      </div>
      <div class="col-lg-4 col-md-12 pl-5">
        <img src="https://s26.postimg.org/pcuw7l7nd/big_browser.png" alt="" class="img-fluid pt-5" style="border: 0px;">
      </div>
    </div>
  </div>




  <div class="container-fluid cd-1 mx-auto mt-5" style="background-color: pink">
    <div class="row">
      <div class="col">
        <h1 class="mt-4 mb-2 text-center text-white text-capitalize">MEET OUR TEAM</h1>
        <p class="text-center text-white">Lorem ipsum bottom text fresh timbs consectetur adipiscing elit. Sed et quam est. Mauris faucibus tellus ac auctor posuere.</p>
      </div>
    </div>
    <div class="row mx-auto"  style="display: flex; justify-content: center;">
      <div class="col-sm-6 col-md-4 col-lg-3  mt-4">
        <div class="card">
          <img class="card-img-top" src="https://s26.postimg.org/5iiyfm521/img-11.png " alt="Card image cap">
          <div class="card-body text-center">
            <h1 class="card-title">JOHN SMITH</h1>
            <h4>Creative Director</h4>
            <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et quam est.</p>
            <img src="https://s26.postimg.org/kjcz7sz2h/thum-f-icon.png" alt="" class="img-fluid pr-3">
            <img src="https://s26.postimg.org/utfe724dl/thum-t-icon.png" alt="" class="img-fluid pr-3">
            <img src="https://s26.postimg.org/9wj62dymx/thum-p-icon.png" alt="" class="img-fluid pr-3">
          </div>
        </div>
      </div>
      <div class="col-sm-6 col-md-4 col-lg-3  mt-4">
        <div class="card">
          <img class="card-img-top" src="https://s26.postimg.org/5iiyfm521/img-11.png" alt="Card image cap">
          <div class="card-body text-center">
            <h1 class="card-title">JOHN SMITH</h1>
            <h4>Creative Director</h4>
            <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et quam est.</p>
            <img src="https://s26.postimg.org/kjcz7sz2h/thum-f-icon.png" alt="" class="img-fluid pr-3">
            <img src="https://s26.postimg.org/utfe724dl/thum-t-icon.png" alt="" class="img-fluid pr-3">
            <img src="https://s26.postimg.org/9wj62dymx/thum-p-icon.png" alt="" class="img-fluid pr-3">
          </div>
        </div>
      </div>
      <div class="col-sm-6 col-md-4 col-lg-3  mt-4 mb-3">
        <div class="card">
          <img class="card-img-top" src="https://s26.postimg.org/5iiyfm521/img-11.png" alt="Card image cap">
          <div class="card-body text-center">
            <h1 class="card-title">JOHN SMITH</h1>
            <h4>Creative Director</h4>
            <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et quam est.</p>
            <img src="https://s26.postimg.org/kjcz7sz2h/thum-f-icon.png" alt="" class="img-fluid pr-3">
            <img src="https://s26.postimg.org/utfe724dl/thum-t-icon.png" alt="" class="img-fluid pr-3">
            <img src="https://s26.postimg.org/9wj62dymx/thum-p-icon.png" alt="" class="img-fluid pr-3">
          </div>
        </div>
      </div>
    </div>
  </div>


  <div class="container-fluid text-center" style="background-color: #b5d5e1;">
    <div class="row">
      <div class="col">
        <h1 class="mt-4 mb-2 text-center text-white text-capitalize">RECENT POST</h1>
        <p class="text-center text-white">Lorem ipsum bottom text fresh timbs consectetur adipiscing elit. Sed et quam est. Mauris faucibus tellus ac auctor posuere.</p>
      </div>
    </div>
    <div class="row mx-auto"  style="display: flex; justify-content: center;">
      <div class="col-sm-6 col-md-4 col-lg-3  mt-4">
        <div class="card">
          <img class="card-img-top" src="https://s26.postimg.org/605u6o8l5/img-12.png" alt="Card image cap">
          <div class="card-body text-center">
            <h4 class="card-title">REALLY INTERESTING POST</h4>
            <h6><em>October 27</em></h6>
            <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et quam est.</p>
          </div>
        </div>
      </div>
      <div class="col-sm-6 col-md-4 col-lg-3  mt-4">
        <div class="card">
          <img class="card-img-top" src="https://s26.postimg.org/605u6o8l5/img-12.png" alt="Card image cap">
          <div class="card-body text-center">
            <h4 class="card-title">REALLY INTERESTING POST</h4>
            <h6><em>October 27</em></h6>
            <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et quam est.</p>
          </div>
        </div>
      </div>
      <div class="col-sm-6 col-md-4 col-lg-3  mt-4">
        <div class="card">
          <img class="card-img-top" src="https://s26.postimg.org/605u6o8l5/img-12.png" alt="Card image cap">
          <div class="card-body text-center">
            <h4 class="card-title">REALLY INTERESTING POST</h4>
            <h6><em>October 27</em></h6>
            <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et quam est.</p>
          </div>
        </div>
      </div>
    </div>
    <button type="button" class="btn btn-outline-primary bt3 mgt-5 mb-5">SHOW MORE</button>
  </div>

<!--DESKTOP CONTACT-->
  <div class="container-fluid p-1 d-none d-xs-none d-sm-none d-md-block" style="background-color: #3b3b3b;">
    <section id="content">
      <h1 style="font-size: 60px;">contact us</h1>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed et quam est. Mauris faucibus tellus ac auctor posuere</p>
      <input type="text" class="mb-2 inp-1" placeholder="Name:"></input>
      <input type="text" class="mb-2 inp-1" placeholder="Email:"></input>
      <input type="text" class="inp-xl"></input>
    </section>
    <div class="" style="background-color: #3b3b3b;">
      <hr width="90%" style="background-color: black;" class="mt-5 pr-4">
      <img src="t-icon.png" class="img-fluid mr-4 ml-5 mt-3">
      <img src="f-icon.png" class="img-fluid mr-4  mt-3">
      <img src="html-icon.png" class="img-fluid mr-4  mt-3">
      <img src="2dot-icon.png" class="img-fluid mr-4  mt-3">
      <p style="font-size: 19px;" class="text-right mr-5"><a style="padding: 4px; color: #fed57e; font-size: 19px;">Bloom Web Design</a> Copyright&#9400; 2013 | Powerd by <a style="padding: 4px; color: #fed57e; font-size: 19px;">Wordpress</a></p>
    </div>
  </div>
<!--/DESKTOP CONTACT-->


<!--MOBILE CONTACT-->
  <div class="container-fluid d-block d-xs-block d-sm-block d-md-none pt-5 text-center" style="background-color: #3b3b3b;">
    <section id="content2">
      <h1 style="font-size: 30px; color: white;">CONTACT US</h1>
      <p style="font-size: 13px; color: white;" class="col-">Lorem ipsum dolor sit amet, consectetur adipiscing elit. <br/>Sed et quam est. Mauris faucibus tellus ac auctor posuere</p>
      <input type="text" class="mb-2 inp-1" placeholder="Name:"></input>
      <input type="text" class="mb-2 inp-1" placeholder="Email:"></input>
      <input type="text" class="inp-xl"></input>
      <button type="button" class="btn btn-outline-primary bt4 mt-5 mb-5" >Send Message</button>
    </section>
  </div>

  <div class="container-fluid p-1  d-block d-md-none text-center" style="background-color: #3b3b3b;">
    <div>
    <hr width="100%" style="background-color: black;" class="mt-5 pr-4">
  </div>
    <img src="t-icon.png" class="img-fluid mr-4">
    <img src="f-icon.png" class="img-fluid mr-4">
    <img src="html-icon.png" class="img-fluid mr-4">
    <img src="2dot-icon.png" class="img-fluid mr-4">
    <p style="font-size: 15px;" class="pt-3">Copyright 2016 | Developed by <a style="color: orange;">AgileUI</a> </p>

  </div>
<!--/MOBILE CONTACT-->


  <!-- Optional JavaScript -->
  <!-- jQuery first, then Popper.js, then Bootstrap JS -->
  <script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
  <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>

</html>

            
          
!
            
              body {
  /* margin: 0px;
  padding: 0px; */
  font-family: 'Patua One', cursive;


}


.p-1 {
  color: white;
}


a.nav-2 {
    transition: box-shadow 0.5s;
    color: white;

}

a.nav-2:hover {
    box-shadow: 5px 0px 40px rgba(0,0,0, .2);
    border: 1px solid #fff;
    background-color: #fff !important;
    color: #9dd5a8;
}

.thumbnails li {
    margin-left: 0 !important;
}

button.btn.btn-outline-primary:hover {
  border: 1px solid #fff;
  background-color: #9dd5a8 !important;
  color: white;
  transition: box-shadow 0.5s;
  transition: 1s;
}


button.btn.btn-outline-primary {
  transition: box-shadow 0.5s;
  color: #a2a3a3;
  border: 1px solid #fff;
  transition: 1s;
  background: #FFF;
  font-size: 24px;
}


button.btn.btn-outline-primary.bt2 {
  transition: box-shadow 0.5s;
  color: white;
  border: 1px solid #fff;
  transition: 1s;
  background: #9cd3a9;
  font-size: 24px;
}


@media only screen and (min-width: 1300px) {
    a.navbar-brand.text-sm-left {
         position: relative;
         left: -100px;
    }
}
@media only screen and (min-width: 1300px) {
      img.img-fluid.img-01  {
        padding-left: 120px;
    }
}
@media only screen and (min-width: 1300px) {
      li.nav-item.active  {
        padding-right: 50px !important;
    }
}
@media only screen and (min-width: 1300px) {
      div#navbarNavDropdown.collapse.navbar-collapse {
        padding-right: 100px !important;
        font-size: 20px;
    }
}



div.container-fluid.cd-1.mx-auto.mt-5 {
   /* justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly; */
    justify-content: center;
}

.h2 {
  padding-bottom: 0px;
  margin-bottom: 0px;
}


button.btn.btn-outline-primary.bt3.mt-5 {
  transition: box-shadow 0.5s;
  color: #b5d5e1;
  border: 1px solid #fff;
  transition: 1s;
  background: white !important;
  font-size: 24px;
}


div.container-fluid.p-1 {
   /* justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly; */
    justify-content: center;
}

#content {
  width: 100vw;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#content2 {
  width: 100vw;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#content h1 {
 text-transform: uppercase;
 text-align: center;
}

#content2 h1 {
 text-transform: uppercase;
 text-align: center;
}

#content p {
  text-align: center;
}


#content input {
  width: 75%;
  border-radius: 5px;
}

#content2 input {
  width: 75%;
  border-radius: 5px;
}

.inp-1 {
  width: 98%;
border-radius: 10px;
border: none;
padding: 20px 10px;
margin-top: 20px;
font-size: 24px;
}

.inp-xl {
  width: 98%;
  border-radius: 10px;
  border: none;
  padding: 20px 10px;
  margin-top: 20px;
  font-size: 24px;
  height: 210px;
}

button.btn.btn-outline-primary.bt4.mt-5 {
  transition: box-shadow 0.5s;
  color: grey;
  border: 1px solid #fff;
  transition: 1s;
  background: white !important;
  font-size: 24px;
}

            
          
!
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