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

              
                <header>
  <!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
  
  <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
</header>

<div class="container-fluid" id="p1">
<!--NavBar Code Start-->  
 
  <ul class="nav nav-pills justify-content-center nav-pills nav-collapse nav-justified">
    
    <li class="active col-md-2">
      <a href="#p1"><span class="glyphicon glyphicon-home"></span> Home</a>
    </li>
    
    <li class="col-md-2">
      <a href="#p2"><span class="glyphicon glyphicon-user"></span> About</a>
    </li>
    
    <li class="col-md-2">
      <a href="#p3"><span class="glyphicon glyphicon-briefcase"></span> Projects</a>
    </li>
    
    <li class="col-md-2">
      <a href="#p4"><span class="glyphicon glyphicon-envelope"></span> Contact</a>
    </li>
  </ul>
<!--NavBar Code Finish Line--> 
  
<!-- PageOne Start -->
  <div class="PageOne">
    <div class="block">
     <div>
      <h1 class="text-center">Gratian Lascu</h1>
     </div>
      <div class="btnList text-center">
        <a class="btn btn-success" href="https://twitter.com/gratianl" target="_blank"> Twitter</a>
        <a class="btn btn-success" href="https://www.facebook.com/gratian.lascu/" target="_blank">Facebook</a>
        <a class="btn btn-success" href="https://www.linkedin.com/in/gratianlascu/" target="_blank">LinkedIn</a>
        <a class="btn btn-success" href="http://gratianlascu.com/" target="_blank">Blog</a>
     </div>
  </div
<!-- PageOne Finish-->
<hr id="p2">
      
<!--PageTwo Start-->
      
<div class="PageTwo">
 <div class="row">
  <div class="col-6">
   <h1 class="text-center">About me</h1>
    <p class="text-justify">My name is Gratian Lascu and I'm from Cluj-Napoca, Romania. I work as Assistant Manager for a hotel in Cluj-Napoca and I split my free time in coding & reading.</p>
      <p class="text-justify">I want to learn everyday and met new people to inspire me. In the future I want to work on different projects, colaborate with other companies and make a nice portfolio.</p>
</div>

<div class="col-6">
  <img class="rounded img-fluid center-block" src="http://gratianlascu.com/wp-content/uploads//Gratian-small.png" alt="Gratian Lascu Image">
  </div>
 </div>
</div>
 <!--PageTwo Finish-->
<hr id="p3">
      
<!--PageThree Start-->  
  <div class="PageThree">
    
    <h1 class="block text-center">Projects</h1>

<div class="center-block">
  <h3 class="text-center">1. Tribute Page - HTML</h3>
  <a href="https://codepen.io/gratianl/pen/KarYXo" target="_blank"><img class="img-fluid center-block" src="http://gratianlascu.com/wp-content/uploads//first-project.jpg"></a>
  <h3 class="text-center">2. Elegant One Page Portfolio - HTML & CSS</h3>
  <a href="https://codepen.io/gratianl/pen/KaJQXG" target="_blank"><img class="img-fluid center-block" src="http://gratianlascu.com/wp-content/uploads//second-project.jpg"></a>
</div>


</div>
    
<!--PageThree Finish-->
<hr id="p4">
<!--Page Four Start-->
<div class="PageFour">
 <h1 class="text-center">Contact</h1>
  <h3 class="text-center"><a href="mailto:gratian.lascu@gmail.com">gratian.lascu@gmail.com</a></h3> 
</div>
<!--Page Four Finish--> 
    <footer>
    <p class="copyright">© Gratian Lascu - 2017</p>
</footer>
    </div>
  </div>
</div>
              
            
!

CSS

              
                .nav-pills {
  font-family: Open+Sans;
  font-size: 1.5em;
  background-color: #f1f1f1 ;
  padding: 10px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 10px;
  margin-top: 10px;
}

.block {
  padding: 40px;
  width: 100%;
  padding-right: auto;
  padding-left: auto;
  padding-top: 30px;
}

h1 {
  font-size: 3em;
  color: white;
}

.btn-default {
  border-color: black;
  background-color: orange;
  border-size: 10;
  color: white;
  font-size: 1em;
}

body {
  background-color: white;
}

a {
  color: red;
}

.displayed {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
}

.col-5 {
  padding-right: 0px;
  padding-left: 0px;
  padding-bottom: 20px;
}

.col-6 {
  padding-bottom: 10px;
  padding-right: 10px;
  padding-left: 10px;
}

.img-circle {
  margin-right: auto;
  margin-left: auto;
}

.PageFour {
  padding-top: 30px;
  padding-bottom: 100px;
}

p {
  font-size: 1.3em;
}
footer {
	position: relative;
	height: 30px;
    width: 100%;
    background-color: #333333;
}

p.copyright {
	position: absolute;
	width: 100%;
    color: #fff;
    line-height: 10px;
    font-size: 1em;
	text-align: center;
	bottom:0;
}

.PageThree img{
  padding-bottom: 10px;
}
              
            
!

JS

              
                
              
            
!
999px

Console