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

              
                <head>
    <title>Welcome to Chrsitophe Leray Portfolio</title>
</head>

<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
  <div class="container-fluid">
    <div class="navbar-header">
          <a class="navbar-brand" href="#"><img src="" alt="">My Portfolio
        </a>
    </div>
    </ul>
      <ul class="nav navbar-nav navbar-right">
      <li class="active"><a href="#">About</a></li>
      <li><a href="#">Portfolio</a></li>
      <li><a href="#">Contact</a></li>
    </ul>
  </div>
</nav>   

<!-- homepage content-->
<div class="container">

<!--About section-->
<div class="row" style="background-color:#ccc; margin-top:100px;" >
  <p><h1>WHO AM I?</h1></p>
  <div class="col-sm-8" id="text-intro">
    <p>Front-End Developer and wordpress/woocommerce with practical experience in project management, Ecommerce, POS integration</p>
    <p id="box-seperator">
      <p>Web Developer - User Experience Designer - Ecommerce expert</p>
  </div>
    <div class="col-sm-4">
      <img class="img-responsive" src="http://www.christopheleray.com/wp-content/uploads/2018/04/ChristophelerayAvatar.jpg" align="center" id="MyImage">
  </div>
  </div>

<!--Portfolio section -->
<div class="row" style="background-color:#f2f2f2;">
    <p><h1>PORTFOLIO</h1></p>
<p id="box-seperator"></p>
<div class="thumbnail">
  <div class="col-sm-6">
    <img class="img-responsive" src="http://qlip.in/images/webmarqas.jpg" alt="Christophe Leray freediving instructor">     </img>
  <div class="caption"><p>Caption 1</p></div>
  </div>

  <div class="col-sm-6">
    <img class="img-responsive" src="http://qlip.in/images/webmarqas.jpg" alt="Christophe Leray freediving instructor">     </img>
  <div class="caption"><p>Caption 2</p></div>
    </div>
  </div>
<div class="thumbnail">
  <div class="col-sm-6">
    <img class="img-responsive" src="http://qlip.in/images/webmarqas.jpg" alt="Christophe Leray freediving instructor">     </img>
  <div class="caption"><p>Caption 3</p></div>
  </div>

  <div class="col-sm-6">
    <img class="img-responsive" src="http://qlip.in/images/webmarqas.jpg" alt="Christophe Leray freediving instructor">     </img>
  <div class="caption"><p>Caption 4</p></div>
    </div>
  </div>
</div>

<!--Contact section -->
  <div class="row" style="background-color:#ccc;">
    <p><h1>CONTACT ME</h1></p>  
  <p id="box-seperator"></p>
    <div class="col-sm-6">
      <div class="form-group"><label for="usr">Name</label>
      <input type="text" class="form-control" id="usr" placeholder="Enter email" name="email">
    </div>
    <div class="form-group"><label for="email">Email:</label>
      <input type="email" class="form-control" id="email" placeholder="Enter email" name="email">
    </div>
      
<div class="form-group">
  <label for="comment">Comment:</label>
  <textarea class="form-control" rows="5" id="comment"></textarea>
</div>
</div>
</div>
<div class="col-sm-6">2
</div>
  </div>
</div>
</>

<footer class="footer">
  <p>kjnferngern</p>
</footer>
              
            
!

CSS

              
                .footer {
    background-color: #0064ce;
    padding: 20px;
}

body{
  background-color:#a5a5a5;
}

/* The navbar container */
.navbar {
  background-color:#0064ce;
  padding:20px;
  border:none;
  font-size:large;
}

/*Navbar links */
.navbar a {
  color:#ffffff !important;
}

/* Links - change color on hover */
.navbar a:hover {
    background-color: #ccc !important;
    color: #0064ce !important;
}

.navbar a:active {
    background-color: #ccc !important;
    color: #0064ce !important;
}

#MyImage {
  border-radius:50%;
  border: 3px solid #0064ce;
  margin-bottom:2em;
}

#text-intro {
  color:#ffffff;
  font-size:large;
  text-align:center;
  margin-top:50px;
}

#box-seperator {
  box-sizing:border-box;
  border:3px solid #0064ce;
  float:center;
  margin:30px 20px 30px 20px;
}

h1 {
  text-align:center;
}

.caption {
  text-align:center;
}
              
            
!

JS

              
                
              
            
!
999px

Console