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

              
                <! DOCTYPE html>
<html lang="en">
<header>
  <link href="https://fonts.googleapis.com/css?family=Megrim" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  <link rel="stylesheet" media="mediatype and|not|only (media feature)" href="mystylesheet.css">
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0" maximum-scale="1.0">
  <title>Portfolio | Tiia Trogen</title>
  </header>
  
       <body class="body">
         
            <!-- Navigation bar -->
    <nav class="navbar navbar-inverse navbar-fixed-top">
          <div class="container-fluid">
              <!-- Logo and toggle-button-->
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#NavMenu" aria-expanded="false">
          <span class="icon-bar"></span>
           <span class="icon-bar"></span>
           <span class="icon-bar"></span>
            </button>
        <a class="navbar-brand" style="font-family:megrim" href="#home" id="brand">Tiia Trogen</a>
            </div>
            <!-- Menu itsems -->
            <div class="collapse navbar-collapse" id="NavMenu">
              <ul class="nav navbar-nav navbar-right">
          <li><a href="#aboutMe">About</a></li>
           <li><a href="#portfolio">Portfolio</a></li>
          <li><a href="#contact">Contact</a></li>
      </ul>
          </div>
                  <!-- Navbar collapse -->
      </div>
    </nav>
      <!-- Navigation bar ends -->
         
  <!-- Home section begins -->
    <div class="header-container" id="home">
      <video autoplay muted plays-inline id="background-video">
        <source src="http://res.cloudinary.com/tiitro/video/upload/v1511984418/Northern_Lights_-_5323_p0rurg.mp4" type="video/mp4"> 
          <source src="http://res.cloudinary.com/tiitro/video/upload/v1511984418/Northern_Lights_-_5323_p0rurg.mp4" type="video/webm"/>
                 <source src="http://res.cloudinary.com/tiitro/video/upload/v1511984418/Northern_Lights_-_5323_p0rurg.mp4" type="video/ogg"/>
         </video>
         <div class="container headline-container">
      <h1 class="text-center h1">Tiia Trogen</h1>
      <h3 class="text-center h3">Learning web design and UI/UX</h3>
       <!-- icon-buttons -->
       <div class="row text-center" style="margin-top:1%;margin-bottom:4%">
        <button type="link" class="btn btn-round"><a href="https://www.linkedin.com/in/tiia-trogen-ba5600109/" target="blank"><i class="fa fa-linkedin-square icons" aria-hidden="true" style="padding:0.5%"></i></a></button>
          <button type="link" class="btn btn-default btn-round"><a href="https://www.freecodecamp.org/tiitro" target="blank"><i class="fa fa-free-code-camp icons" aria-hidden="true" style="right:11%"></i></a></button>
          <button type="link" class="btn btn-default btn-round"><a href="https://www.instagram.com/ttrogen/" target="blank"><i class="fa fa-instagram icons" aria-hidden="true" style="padding:0.5%"></i></a></button>
          </div>
          </div>
       </div> 
         
         <!-- About me -section begins -->
         <div class="aboutMe-background container-fluid" id="aboutMe">
           <div clss="row">
             <div class="col-sm-2"></div>
              <div class="col-sm-8 transparent-textbox">
                <h2 class="h2">About me</h2>
                 <hr class="hr"/>
                <img src="http://res.cloudinary.com/tiitro/image/upload/v1511983303/passikuva_nelio_jv9qm6.jpg" title="Potrait of Tiia Trogen" class="myPicture center-block"/>
                <p class="p" style="color:white;text-align:center"><b>Hi and thank you for visiting my portfolio!
                  <br> <br>I am an aspiring web designer with a strong interest in user experience. I think a great design comes with great usability. <br> <br>I am entering the world of web design with a background in (mostly visual) journalism and layout design spiced with team leading and management experience. My aim is to get my designing skills to match the mind and let the ideas fly free.</b></p>
                </div>
             <div class="col-sm-2"></div>
         </div>  
         </div>
         
        <!--portfolio begins -->
      <div class="portfolio-container text-center background-video" id="portfolio">
        <video autoplay loop muted plays-inline id="portfolio-background-video">
          <source src="http://res.cloudinary.com/tiitro/video/upload/v1511984418/Northern_Lights_-_5323_p0rurg.mp4" type="video/mp4"> 
          <source src="http://res.cloudinary.com/tiitro/video/upload/v1511984418/Northern_Lights_-_5323_p0rurg.mp4" type="video/webm"/>
                 <source src="http://res.cloudinary.com/tiitro/video/upload/v1511984418/Northern_Lights_-_5323_p0rurg.mp4" type="video/ogg"/>
         </video>
        <div class="container-fluid">
        <div class="transparent-textbox-BLACK">
          <h2 class="h2" style="padding-top:3%;">Portfolio</h2>
          <hr class="hr"/>
          <p class="p-portfolio" style="color:white;margin-bottom:0;margin-top:0">Here you can see my coding projects, I will add to it as I progress.</p>
                   <div class="row">
             <div class="col-md-4 col-sm-6 col-xs-12">
               <a href="https://codepen.io/TiiTro/pen/pdWyeN" target="blank"><img src="http://res.cloudinary.com/tiitro/image/upload/v1511989053/jansson_tribute_sc_kkuizz.png" alt="screencapture of Jansson tribute page" title="screencapture of Jansson tribute page" class="img-responsive placeholder-img" style="margin-bottom:2%"></a>
               <a href="https://codepen.io/TiiTro/pen/pdWyeN" target="blank" class="link-text">Tribute page project for Free Code Camp</a>
               </div>
             <div class="col-md-4 col-sm-6 col-xs-12">
               <img src="http://res.cloudinary.com/tiitro/image/upload/v1511983884/placeholder_orcc4r.png" alt="placeholder image" title="placeholder image" class="img-responsive placeholder-img">
               </div>
             <div class="col-md-4 col-sm-6 col-xs-12">
               <img src="http://res.cloudinary.com/tiitro/image/upload/v1511983884/placeholder_orcc4r.png" alt="placeholder image" title="placeholder image" class="img-responsive placeholder-img">
               </div>
            </div> <!--row-->
        </div>
         </div> <!--overflo container -->
        </div>
         
         <!-- Contact me begins -->
         <div class="container-fluid">
              <div class="row" id="contact">
                 <!-- LEFT side -->
 <div class="col-md-6 col-sm-12 col-xs-12 solid-textbox2">   
                <h2 class="h2" style="margin-bottom:3%;color:white;margin-top:5%">Contact Me</h2>
    <hr class="hr" style="width:20%;border-color:white"/>
              <div class="icons-bigger text-center">
        <button type="link" class="btn btn-default btn-round-bigger"><a href="https://www.linkedin.com/in/tiia-trogen-ba5600109/" target="blank"><i class="fa fa-linkedin-square icons-bigger" aria-hidden="true" style="padding:0.5%"></i></a></button>
                <br>
          <button type="link" class="btn btn-default btn-round-bigger"><a href="https://www.freecodecamp.org/tiitro" target="blank"><i class="fa fa-free-code-camp icons-bigger" aria-hidden="true" style="padding:0.5%"></i></a></button>
                <br>
                <button type="link" class="btn btn-default btn-round-bigger" style="right:1%"><a href="https://www.instagram.com/ttrogen/" target="blank"><i class="fa fa-instagram icons-bigger" aria-hidden="true" style="padding:0.5%"></i></a></button>
                </div> <!-- col-sm-6 LEFT ends-->
                </div>
   
   <!-- Contact me RIGHT side begins -->
   <div class="col-md-6 col-sm-12 col-xs-12 solid-textbox">
               <!-- form -->
     <div class="form-container">
       <p class="p">Please feel free to contact me for any questions!</p>
               <form class="form-horizontal" role="form">
               <div class="form-group">
                 <input type="text" class="form-control col-xs-4" placeholder="First name">
                 </div>
                <div class="form-group">
                 <input type="text" class="form-control col-xs-4" placeholder="Last name">
             </div>
                 <div class="form-group">
                 <input type="email" class="form-control col-md-4" placeholder="Email">
             </div>
                <div class="form-group">
                  <textarea class="form-control inputstl textarea" rows="4" placeholder="This would be where you write the message, but since the form is not working right now, you can mail me at tiiatrogen@gmail.com."></textarea>
                 </div>
                 <button type="submit" class="btn btn-default submit-btn">Send <i class="fa fa-paper-plane" aria-hidden="true"></i></button>
     </form>
                </div>
   </div> <!-- textbox -->
  </div> <!-- row -->
</div>
         </div>
  <!-- footer begins -->
 <div class ="container-fluid">
   <div class="col-xs-12 alert alert-secondary">
     <p class="text-center">Coded as a Free Code Camp assignment by Tiia Trogen.
       Background video from <a href="https://pixabay.com/" class="link-text" style="color:cyan" target="blank">Pixabay</a> by PIRO4D. 
     </p>
   </div>
  </div> <!-- footer ends -->
          
         
                           
                
                
     
         
              
            
!

CSS

              
                .navbar{
border: 0;
margin: 0;
border-radius: 0;
background-color: black;
  font-size: 1.2em;
}

.body {
  font-family: Raleway;
}

.header-container {
  max-width: 100%;
  height: 700px;
  border-left: none;
  border-right: none;
  position: relative;
  background-color: black;
}

#background-video {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -100%;
}

.padding {
  padding:3%;
}


@media (max-width: 576px) {
  .headline-container{
    padding-top: 50%;
    padding-bottom: 50%;
  }
}

@media (min-width: 577px) and (max-width: 1199px) {
  .headline-container{
    padding-top: 20%;
  }
}

@media (min-width: 1200px) {
  .headline-container{
    padding-top: 12%;
  }
}

.h1 {
  font-family: Megrim, Arial;
  font-size: 7.0em;
  color: white;
    position: relative;
  z-index: 10;
  line-height: 100%;
  margin: auto;
}

@media (max-width: 768px) {
  .h1{
    padding-bottom: 10%;
    line-height: 1.0;
  }
}


.h2 {
  font-family: megrim;
  font-size: 4.5em;
  color: cyan;
  text-align: center;
  position: relative;
  z-index: 100;
  line-height: 100%;
  margin-left:auto;
  margin-right: auto;
  margin-top: 5%;
  margin bottom: 1%;
}

.h3 {
  position: relative;
  z-index: 10;
  color: white;
  line-height: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 3%;
}

.hr
{border-color: cyan;
text-align: center;
width: 10%;
background-color: cyan;
  margin-bottom: 3%;}

.icons {
  color:white;
  font-size:2.0em;
  position: relative;
  z-index: 10;
  margin: auto;
  line-hight: 50px;
 display: block;
  text-align: center;
}
 
.btn-round {
border-radius: 50%;
  width: 50px;
    height: 50px;
  text-color: white;
  background-color: transparent;
  border: solid 3px white;
 margin: 1%;
  font-size: 20px;
  text-align: center;
  position:relative;
  }


.icons-bigger {
  color:white;
  font-size:3.0em;
  position: relative;
  z-index: 10;
  margin: auto;
  padding-bottom: 15%;
}

.btn-round-bigger {
border-radius: 50%;
  width: 80px;
    height: 80px;
  background-color: transparent;
  border: solid 3px white;
 margin-top: 1.5%;
  margin-bottom: 1.5%;
  text-align: center;
  font-size: 35px;
  position:relative;
  margin-left: auto;
  margin-right: auto;
  }

@media (max-width: 576px) {
  .btn-round-bigger {
    margin-top: 3%;
    margin-bottom: 3%;}
}

.aboutMe-background {
  background-color: rgb(0,0,0);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-positio: center;
  padding: 0%;
  margin: 0%;
  z-index: 100;
}

.myPicture{
 max-height: 300px;
    border-radius: 50%;
  max-width: 100%;
  position: relative;
  z-index: 120;
}

@media (max-width: 576px) 
{
  .myPicture {
    padding-top: 5%;
  }
}

.p {
  font-size:1.6em;
  margin-left: 15%;
  margin-right: 15%;
  position: relative;
  z-index: 100;
  margin-top: 3%;
  margin-bottom: 5%;
  text-align: center;
}

@media (max-width: 992px) {
  .p {
    font-size:1.4em;
    margin-left: 3%;
  margin-right: 3%;
    margin-top: 7%;
    margin-bottom: 7%;
  text-align: left !important;
  }
}

.transparent-textbox {
  background-color: rgb(192,192,192);
border: solid 25px rgb(0,255,255);
  z-index: 110;
}

.portfolio-container {
  max-width: 100%;
  height: 1100px;
  border-left: none;
  border-right: none;
  position: relative;
  padding: 20px;
     overflow: hidden;
}

.p-portfolio {
  font-size:1.6em;
  margin-left: 15%;
  margin-right: 15%;
  position: relative;
  z-index: 100;
  margin-top: 3%;
  margin-bottom: 5%;
  text-align: center;
}

#portfolio-background-video {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100%;
}

.transparent-textbox-BLACK {
  background-color: rgba(0,0,0,0.7);
position: relative;
z-index: 45;
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 7%;
  margin-bottom: 5%;
}

@media (max-width: 992px){
  .transparent-textbox-BLACK{
  background-color: transparent;
  }
}

.placeholder-img {
  margin-left: auto;
  margin-right: auto;
  margin-top: 8%;
  margin-bottom: 15%;

}

.link-text {
 color: white;
  text-size: 2.5em;

}

.solid-textbox2 {
  position: relativ;
  z-index: 40;
  background-color: rgb(192,192,192);
text-align: center;
  color: white;
  height: 550px;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

@media (max-width: 576px) {
  .solid-textbox2 {
    height: 450px;
  }
}

.solid-textbox {
   position: relativ;
  z-index: 40;
  background-color: rgb(0,0,0);
text-align: left;
  color: white;
  padding: 0;
   height: 550px;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0;
  border: solid 2px rgb(192,192,192);
}
.form-control {
  background-color: rgb(220,220,220);
  padding: 2%;
  font-size: 1.3em;
}


.form-group {
  padding: 1%;
}

.form-container {
  display: block;
  box-sizing: border-box;
  padding-left: 30%;
  padding-right: 30%;
  padding-top: 5%;
  padding-bottom: 5%;
}

@media (max-width: 576px) {
  .form-container {
  padding-left: 10%;
  padding-right: 10%;
  } 
}

@media (min-width: 992px) and (max-width: 1250px) 
{
  .form-container {
  padding-left: 10%;
  padding-right: 10%;
  } 
}

.submit-btn {
  box-shadow: 2px 2px grey;
  margin-top: 1%;
  float: right;
}

.btn-round:hover, .btn-round-bigger:hover, .icon-bar:hover, li:hover
{
  background-color:cyan;
  border:cyan;
}

#brand:hover
{
  background-color:cyan;
}

.submit-btn:hover
{
 background-color: rgb(128,128,128); 
}

.link-text:hover {
  color: cyan;
}

.footer {
  background-color:white;
  
}
              
            
!

JS

              
                
              
            
!
999px

Console