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

              
                <link href="https://fonts.googleapis.com/css?family=Arvo|Hammersmith+One|Lato|Montserrat|Palanquin+Dark|Vollkorn" rel="stylesheet">

<script src="https://use.fontawesome.com/c6dd220eb6.js"></script>


<body id="page-top" data-spy="scroll" data-target=".navbar" data-offset="50">

<nav class="navbar navbar-inverse navbar-fixed-top">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#intro">JOSEPH LIU</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">     
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#about">About</a></li>
        <li><a href="#work">Work</a></li>
        <li><a href="#contact">Contact</a></li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

<!-- Intro -->
  <section id="intro">
    <div class="container-fluid">
      <div class="row">
        <div class="col-xs-12">
          <h1 class="brand-heading">"Do you want to know who you are? Don't ask! Act! Action will delineate and define you."</h1>
        </div>
      </div>
    </div>
  </section>
  
<!-- About -->
  <section id="about">
    <div class="container">
      <div class="row">
        <div class="col-xs-12">
          <h1>Hi my name is Joseph.</h1>
        </div>
      </div>
      <div class="row">
        <div class="col-xs-7">
          <h2 class="pull-right">I'm a Doctor</h2>
        </div>
        <div class="col-xs-5">
          <img src="http://i63.tinypic.com/2w40inq.jpg" alt="Doctor" class="img-responsive img-circle vector-img">   
        </div>
      </div>
      <div class="row">
        <div class="col-xs-4">
          <img src="http://i65.tinypic.com/iqcxgk.jpg" alt="Tech" class="img-responsive img-circle pull-right vector-img">
        </div>
        <div class="col-xs-8">
          <h3 class="pull-left">Turned aspiring Tech Entrepreneur</h3>
        </div>
      </div>
      <div class="row">
        <div class="col-xs-8">
          <h2 class="pull-right">I'm all about great ideas</h2>
        </div>
        <div class="col-xs-4">
          <img src="http://i68.tinypic.com/jijpl3.jpg" alt="Ideas" class="img-responsive img-circle vector-img">   
        </div>
      </div>
      <div class="row">
        <div class="col-xs-3">
          <img src="http://i64.tinypic.com/erae7p.jpg" alt="World" class="img-responsive img-circle pull-right vector-img">
        </div>
        <div class="col-xs-9">
          <h2 class="pull-left">And using them to impact the world we live in.</h2>
        </div>
      </div>
    </div>      
  </section>
  
<!-- Work -->
  <section id="work">
    <div class="container">
      <div class="row">
        <div class="col-xs-12">
          <h2>Whether it's through words, music, dance or art, everyone expresses themselves in different ways. </h2>
          <h4>This is how I express myself:</h4>
        </div>
      </div>
      <div class="row">
        <div class="col-xs-6 col-sm-4 col-md-3 col-lg-3">
          <div class="thumbnail">
            <a href="https://codepen.io/drhectapus/pen/zKmKbz" class="thumbnail" target="_blank"><img src="http://i65.tinypic.com/2usxtno.png" alt="Mesut Ozil"></a>
            <div class="caption">
              <h6>Mesut Ozil Tribute Page</h6>
            </div>
          </div>
        </div>
        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
          
        </div>
        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
          
        </div>
      </div>
      <div class="row">
        <div class="col-xs-4 col-md-6">
          
        </div>
        <div class="col-xs-4 col-md-6">
          
        </div>
        <div class="col-xs-4 col-md-6">
          
        </div>
      </div>
    </div>
  </section>
  
<!-- Contact -->
  <section id="contact">
    <div class="container">
      <div class="row">
        <div class="col-xs-12">
          <h1>Contact</h1>
          <p>Here's how hold to get a hold of me:</p>
          <form action="https://formspree.io/drjosephliu@gmail.com" method="POST" id="contact-form" class="form-horizontal">
            <div class="form-group">
              <label for="name" class="control-label col-xs-2">Name:</label>
              <div class="col-xs-8">
                <input type="text" name="name" class="form-control" placeholder="Enter name">
              </div>
            </div>
            <div class="form-group">
              <label for="email" class="control-label col-xs-2">Email:</label>
              <div class="col-xs-8">
                <input type="text" name="email" class="form-control" placeholder="Enter email">
              </div>
            </div>
            <div class="form-group">
              <label for="message" class="control-label col-xs-2">Message:</label>
              <div class="col-xs-8">
                <textarea name="message" class="form-control" rows="5" placeholder="Enter message"></textarea>
              </div>
            </div>
            <div class="form-group">
              <div class="col-xs-12">
                <button type="submit" class="btn btn-default">Submit</button>
              </div>
            </div>
          </form>  
        </div>
      </div>
    </div>
  </section>
  
  <!-- Footer -->
  <footer class="text-center">
    <div class="container">
      <ul class="list-inline">
            <li>
              <a href="#"><i class="fa fa-facebook circle-icon" aria-hidden="true"></i></a>
            </li>
            <li>
              <a href="#"><i class="fa fa-google-plus circle-icon" aria-hidden="true"></i></a>
            </li>
            <li>
              <a href="#"><i class="fa fa-twitter circle-icon" aria-hidden="true"></i></a>
            </li>
            <li>
              <a href="#"><i class="fa fa-linkedin circle-icon" aria-hidden="true"></i></a>
            </li>
          </ul>
    </div>
  </footer>
</body>
              
            
!

CSS

              
                body {
    width: 100%;
    height: 100%;
    font-family: 'Arvo', sans-serif;
}

html {
    width: 100%;
    height: 100%;
}

.navbar {
  font-family: 'Lato', sans-serif;
}

.navbar-brand {
  font-weight: 900;
  font-size: 3.2vmin;
}

#intro {
    width: 100%;
    padding: 15% 0;
    text-align: center;
    background:  url(https://images.unsplash.com/reserve/oIpwxeeSPy1cnwYpqJ1w_Dufer%20Collateral%20test.jpg?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&s=2f682168e7b0af70811c914882b0750b) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#intro .brand-heading{
  font-size: 12vmin;
  color: white;
  font-family: 'Vollkorn', serif;
}

#about {
  background: #eee;
  padding: 80px 0;
}

h1 {
  font-size: 5.5vmin;
}
#about h1 {
  text-align: center;
  font-size: 6vmin;
}

h2 {
  font-size: 5.2vmin;
}

h3 {
  font-size: 4.5vmin;
}

h4 {
  font-size: 3.5vmin;
}

p {
  font-size: 2.5vmin;
}

.vector-img {
  height: 60px;
  border-color: #505050;
  border-width: 4px;
  border-style: solid;
  border-radius: 50%;
}

#work {
    height: 100%;
    padding: 60px 0;
    text-align: center;
    background: #fff;
}

#contact {
  height: 100%;
  padding: 60px 0;
  text-align: center;
  background: #eee;
}

#contact-form {
  font-size: 2.7vmin;
}

footer {
  padding: 20px;
  height: 80px;
  background-color: #222;
}

i {
  color: #222;
  size: 20px;
}

.circle-icon {
    background: #fff;
    padding: 12px;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    width: 40px;
    height: 40px;
}

.circle-icon:hover {
  background-color: #eee;
}
              
            
!

JS

              
                
              
            
!
999px

Console