Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <link href="https://fonts.googleapis.com/css?family=Cutive+Mono" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Khula:400,700" rel="stylesheet">

<!--Below is HTML-->
<body>
  <div class="container-fluid">
<!--Welcome page-->
  <div class="row content1">
    <section>
      <h1>The Tribe Project</h1>
      <div class="navibar text-center">
      <nav>
        <div class="col-sm-4 col-md-4"><a class="a1" href="#about">About</a></div>
        <div class="col-sm-4 col-md-4"><a class="a1" href="#projects">Projects</a></div>
        <div class="col-sm-4 col-md-4"><a class="a1" href="#contact">Contact</a></div>
        </nav>
      </div>
    </section>
  </div>

<!--Description of the beast-->
<div class="row content2">
  <section id="about">
<div class="col-sm-12 col-md-12">  
 <!-- <h2 style="color:white">About</h2> --></div>
    <div class="col-sm-12 col-md-6">
      <h2 style="color:white">About</h2>
      <p class="about-description">I'm Baru the Bobcat, far from home in a rainforest. Still, I love trees and flowers so I'm okay with this situation. What else can I say about me? Except that I am a program built as a consequence of a trillion other programs operating at once, be they vegetal, animal or spiritual. I am here un-unique yet still one of a kind.</br></br> 
      This is <b>the Tribe Project</b>, the beginning of a journey through Life, seen through the eyes of the living. This is my story, your story.</p></div>

<div class="col-sm-12 col-md-6 bobcat" style="border:2px solid #ecf9f1">
  <!--<img class="img-responsive center-block" src="https://www.ncpedia.org/sites/default/files/bobcat2.jpg" alt="bobcat" style="background-position:center;background-size:cover">-->
    
  </div>
      </section>
  </div>

<!--Description of the projects-->
<div class="row content3">
  <section id="projects"></br>
        <h2 style="color:gray">Projects</h2>
  </br>
  
 <!--first project--> 
  <div class="col-sm-12 col-md-4">
    <a href="https://codepen.io/bensrd/full/oGmZdQ" target="_blank"> 
    <img src="https://i.pinimg.com/564x/eb/11/56/eb115694ba556b7d90f3dfc7ee8508d9--baby-bobcat-lwren-scott.jpg" alt="first-project" class="img-responsive center-block img-thumbnail"></a>
  <div class="caption">
  <h3 style="text-align:center">First Pen</h3>
  <p style="text-align:justify">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
  </div>  
  </div>
 
<!--second project-->
  <div class="col-sm-12 col-md-4">
    <a href="https://codepen.io/bensrd/full/wrZrRo" target="_blank"> 
    <img src="http://www.parconaturaviva.it/cms-contents/uploads/eepesb_principale.jpg" alt="second-project" class="img-responsive center-block img-thumbnail"></a>      
  <div class="caption">
  <h3 style="text-align:center">Second Pen</h3>
  <p style="text-align:justify">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
  </div>  
  </div>
 
  
<!--third project-->
  <div class="col-sm-12 col-md-4">
  <a href="http://www.freecodecamp.org/" target="_blank">
      <img src="https://i.pinimg.com/736x/b6/20/87/b620876b55edc6224b316aca788ac75e--gatlinburg-smoky-mountain.jpg" alt="third-project" class="img-responsive center-block img-thumbnail"></a>      
  <div class="caption">
  <h3 style="text-align:center">Third Pen</h3>
  <p style="text-align:justify">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
  </div>  
  </div>
  
  </section>
  </div>
      
<!-- Contact details -->
<div class="row content4">
    <section id="contact">
      <h2 style="color:white">Contact</h2></br>
      
 <!-- Facebook, Instagram, Linkedin, Github -->    
<div class="col-12">
<button type="button" class="btn white-square center-block" href="http://www.facebook.com/" target="_blank">Facebook</button>
  </div></br>
      
<div class="col-12">
<button type="button" class="btn grey-square center-block" href="http://www.instagram.com/" target="_blank">Instagram</button>
</div></br>

<div class="col-12">
<button type="button" class="btn white-square center-block" href="http://www.linkedin.com/" target="_blank">Linkedin</button>
  </div></br>
      
<div class="col-12">
<button type="button" class="btn grey-square center-block" href="http://www.github.com/" target="_blank">Github</button>
      </div>
     
      </section>
  </div>
 




    </div>
  </body>
              
            
!

CSS

              
                section{
  width:100%;
  height:100vh;
}

.content1{
  background-image:url("https://i.pinimg.com/originals/e9/bd/79/e9bd79a0a0ee7bd5b3e9e17bf5651a22.jpg");
  height:100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

h1{
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-family: 'Cutive Mono', monospace;
  font-size:3.5em;
  text-align:center;
  border: 2px solid white;
}

.navibar{
  font-family: 'Cutive Mono', monospace;
  border-top: 1.3px solid white;
  border-bottom: 1.3px solid white;
  position:absolute;
  bottom:0;
  width:100%;
}

.a1{
  color:white;
  font-size:2.5em;
}

h2{
  font-family: 'Cutive Mono', monospace;
  font-size:7em;
  padding-left:25px;
}

.about-description{
  padding: 10px 20px 10px 30px;
  text-align:justify;
  line-height:200%;
}

p{
  font-family: 'Khula', sans-serif;
  font-size:1.2em;
}

.bobcat{
  background-image:url(https://virginia-wildlife-removal.com/wp-content/uploads/2015/10/virginia-bobcat-removal-1030x915.jpg);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  height:100%;
}

.img-thumbnail {
  width: 300px;
  max-width:100%;
  max-height: 300px;
  border-radius: 100%;
}

.white-square{
  font-family: 'Khula', sans-serif;
  font-size:2.5em;
  color: white;
  background-color:#eaeafb;
  border:1px solid #eaeafb;
  height:100px;
  width:100%;
  border-radius:0;
}

.white-square:hover{
  background-color:transparent;
  color:white;
  transition:0.8s;
}

.grey-square{
  font-family: 'Khula', sans-serif;
  font-size:2.5em;
  color: white;
  background-color:#f9e8d2;
  border:1px solid #f9e8d2;
  height:100px;
  width:100%;
  border-radius:0;
}

.grey-square:hover{
  background-color:transparent;
  color:white;
  transition:0.8s;
}

.content4{
  background-image:url("https://thedriftbackpackershostel.com/wp-content/uploads/2017/09/top_10_attractions_in_phan_thiet_p2_1.jpg");
  height:100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

              
            
!

JS

              
                  $(document).ready(function(){
  $("h1").css("color","white");
  $(".content2").css("background-color","#d6f5d6");
  $(".content3").css("background-color","#f1f2f4");
});


              
            
!
999px

Console