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


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


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.


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.


  <!--Start upper bar-->
  <body id="home"> 
    <div class="upper-bar">
      <div class="container">
        <div class="row">
          <div class="info col-sm text-center text-sm-left">
            <i class="fa fa-phone" aria-hidden="true"></i><span class="phone-left">+258 xxx xxx xxx</span><i class="fas fa-envelope"></i>
          <div class="info col-sm text-center text-sm-right">
            <span>Let's work Together!</span> 
            <a href="#" class="btn first btn-lg btn-primary">Get a Quote</a>
    <!--Navigation menu-->
    <nav class="navbar navbar-expand-md navbar-light">
      <div class="container">
        <a class="navbar-brand" href="#"><img src="img/formost-logo.png"></a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#main-nav" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        <div class="collapse navbar-collapse" id="main-nav">
          <ul class="navbar-nav ml-auto">
            <li class="nav-item active">
              <a class="nav-link" href="#">Home</a>
            <li class="nav-item">
              <a class="nav-link" href="#">Company</a>
             <li class="nav-item">
              <a class="nav-link" href="#">Products &amp; Industries</a>
             <li class="nav-item">
              <a class="nav-link" href="#">Contact</a>
    <!--End Navigation menu-->
    <section id="hero">

    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="js/popper.min.js"></script>
    <script type="text/javascript" src="js/bootstrap.min.js"></script> 
    <script type="text/javascript" src="js/main.js"></script>
    <script type="text/javascript" src="js/lightbox-plus-jquery.min.js"></script>
    <script type="text/javascript" src="js/owl.carousel.min.js"></script>




    font-family: 'Lato', sans-serif !important;
    color: #333 !important;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;

    font-size: 0.9375rem;
    display: block;
    line-height: 1.7;  

    display: block;
    max-width: 100%;
    height: auto;
    text-align: center;

/*--Start upper Bar--*/
    background: rgba(2,13,38,1); 
    color: #d8e0f3;
.upper-bar .info{
    margin: 10px;
.upper-bar span{
    color: #d8e0f3;
    margin-right: 20px;
.upper-bar i{
    margin-right: 5px;
.btn-primary {
    color: #d8e0f3 !important;
    background-color: #000 !important;
    border-color: #d8e0f3 !important;
    font-size: 1rem !important;
    margin-left: 5px;
.btn-group-lg>.btn, .btn-lg {
    padding: .2rem 1rem !important;
    line-height: 1.5;
    border-radius: .3rem;
@media(max-width: 576px){
    .upper-bar .info:first-child{
        margin-bottom: 0;
    .upper-bar button{
        border: none;
        margin-left: 5px;
        cursor: pointer;

/*-- Start Navigation bar--*/

.navbar-brand {
    width: 180px;
.navbar-nav .nav-link{
    font-size: 1rem;
    margin-left: 20px;
    color: #4d4d4d !important;
    font-weight: 400;
.navbar-nav .active > .nav-link{
    color: #cc0000 !important;
/*-- End Navigation bar--*/

/*--banner image--*/
    background: url('../img/foremost-hero.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    background-size: cover;
    position: relative;
    top: 0;
    bottom: 0;
    height: 100vh;
    z-index: 1;