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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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 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

              
                <head>
  <script src="https://use.fontawesome.com/5366e53000.js"></script>
</head>
<body>
    <!--Navigatie-->
  <div class="container-fluid" id="nav">
    <div class="row">
        <nav class="fixed-nav-bar">
          <ul>
          <li><a href="#portfolio">Portfolio</a></li>
          <li><a href="#Contact">Contact</a></li>
          <li><a href="#About">About</a></li>
          <li style="float:right";><a href="#About">This thing is just a test</a></li>
        </ul>
        </nav>
    </div>
 </div>

  <!--Header-->
  <div class="container-fluid" id="header">
    <div class="row">
      <div class="block">
       <img src="https://i.imgur.com/85AARn1.jpg">
    </div>
   </div>
 </div>
  
  <!--Portfolio-->
  <div class="container-fluid">
      <div class="row" style="margin-top-bottom: 20px;">
        <h2 id="h2-1">Portfolio</h2>
    <h3>read about my projects, dont forget to click the middle top one</h3>
<a name="portfolio"></a>
        
        <div class="col-sm-4"> 
      <img src="https://i.imgur.com/85AARn1.jpg">
    </div>
   <!--test--> <div class="col-sm-4"> 
      
<div class="gallery">
<div class="gallery-image">
  <img src="https://i.imgur.com/85AARn1.jpg">
  
<div class="gallery-text">

<h3>something i wanted to try and see if it worked, it did</h3>
  
</div>    
</div>  
</div>
         </div>
   <!--tot hier-->
 
    <div class="col-sm-4"> 
      <img src="https://i.imgur.com/85AARn1.jpg">
    </div>
    <div class="col-sm-4"> 
      <img src="https://i.imgur.com/85AARn1.jpg">
    </div>
    <div class="col-sm-4"> 
      <img src="https://i.imgur.com/85AARn1.jpg">
    </div>
    <div class="col-sm-4"> 
      <img src="https://i.imgur.com/85AARn1.jpg">
    </div>
   </div
  </div>
    
<!--About-->
    <div class="container-fluid">
      <a name="About"></a>

      <div class="row">
                 <h2 id="h2-1">About</h2>  <h3>Read about me and be amazed</h3>
      </div>
    </div>
     
 <div class="container-fluid">
    <div class="block" style="border: 1px solid silver">
          <div class="col-sm-12">
            <div class="col-sm-3"></div>
           <div class="col-sm-3 xs-6" style="margin: 40px"><img src="http://www.kia-plovdiv.com/image/picanto/colors/clear_white.png">
          </div> 
            <div class="col-sm-3 xs-6">
              <p style="margin: 50px">"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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."</p>
          </div> 
            <div class="col-sm-3"></div> 
      </div>
        <div class="col-sm-12">
            <div class="col-sm-3"></div>
           <div class="col-sm-3 xs-6" style="margin: 40px">"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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
          </div> 
            <div class="col-sm-3 xs-6">
              <p style="margin: 50px"><img src="http://www.kia-plovdiv.com/image/picanto/colors/clear_white.png"></p>
          </div> 
            <div class="col-sm-3"></div> 
      </div>
    </div>
        </div>
        <!--Contact-->
    <div class="container-fluid">
    <div class="block" style="border: 1px solid silver; background-color: silver">
      <div class="col-sm-12 ">
              <a name="Contact"></a>
        <h2 id="h2-1">Contact</h2>
      </div>
      <div class="col-sm-2 ">
      </div>
      <div class="col-sm-3 ">
        <h2 id="h2-2">Social</h2>
       <div class="row">
<div class="col-sm-3">
        <i class="fa fa-twitter-square" aria-hidden="true" style="font-size: 70px;"></i>
        <h4>@test</h4>
         </div>
         <div class="col-sm-3">
             <i class="fa fa-twitter-square" aria-hidden="true" style="font-size: 70px;"></i>
        <h4>@test</h4>
         </div>
         <div class="col-sm-3">
             <i class="fa fa-twitter-square" aria-hidden="true" style="font-size: 70px;"></i>
        <h4>@test</h4>
         </div>
         <div class="col-sm-3">
             <i class="fa fa-twitter-square" aria-hidden="true" style="font-size: 70px;"></i>
        <h4>@test</h4>
         </div>
        </div>
             </div>
      <div class="col-sm-2 ">
<p style="font-size: 20px; margin-top: 20px">Address:
Keas 69 Str.
15234, Chalandri
Athens,
Greece

+30-2106019311 (landline)
+30-6977664062 (mobile phone)
  +30-2106398905 (fax)</p>
      </div>
      <div class="col-sm-3">
        <img src="http://www.loremipsumpress.com/images/bionetwork.png">
      </div>
   </div>
        </div>           
        </body>
    <footer>
       <div class="row" style="margin-top:200px; background-color: black; color:white">
            <div class="block" style="margin-top-bottom: 50px; text-align:center">
              <p style="margin-top:50px; margin-bottom:50px; font-size: 30px">
              this is the footer
              </p>
              </div>
          </div>
    </footer>
        
      
       

              
            
!

CSS

              
                .fixed-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 70px;
  background-color: #FFFFFF;
  border: 2px solid silver;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 10;
    width: 100%;
    background-color: #FFFFFF;
    top: 0;
    }

li {
    float: left;
    margin: 5px;
}

 a {
   display: block;
    color: #888;
    padding: 10px 16px;
    text-decoration: none;
    font-family: Arial;
    font-size: 20px;
    text-align: center;
     
}

li a:hover {
        color: #555;
  border: 0px solid silver;
}
.active {
    background-color: #FFFFFF;
    color: black;  
}
img {
  width: 100%;
  height: auto;
}
#h2-1 {
  font-family: Arial;
  font-size: 25px;
  font-color: silver;
  text-align: center;
  margin-top: 100px
}
.col-sm-4{
  margin-top: 20px;
  margin-bottom: 20px;
}
.gallery {
    position: relative;
		padding: 0;
		margin: 0;
		text-align: center;
	}

	.gallery-image{
cursor:pointer;
		position: relative;
		display: block;
	}

	.gallery-text{
	    position: absolute;
	    top: 0; right: 0;
	    bottom: 0; left: 0;
	    text-align: center;
	    background-color: rgba(0,0,0,0.8);
	    opacity: 0;
	    -webkit-transition: opacity 0.6s;
	    -moz-transition: opacity 0.6s;
	    transition: opacity 0.6s;
       vertical-align:middle;
       line-height:200px;
	}

	.gallery-text:hover{
	    opacity: 1;      
	}

	.gallery-text h3{
	    color: white;
	    display: inline-table;
       vertical-align:middle;
       line-height:100%;            
	}
a {
text-decoration: none !important;
}

h3 {
  font-size: 16px;
  font-color: silver;
  font-family: Arial;
  text-align: center
}

i:hover {
  color: purple;
}

#h2-2{
  font-family: Arial;
  font-size: 25px;
  font-color: silver;
  text-align: center;
  margin-top: 20px;
    margin-bottom: 20px;
}
              
            
!

JS

              
                
              
            
!
999px

Console