Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              <header>
  <navbar>
    <ul>
      <div class="nav-container">
        <li>Hello</li>
        <li>Resume</li>
        <li>Portfolio</li>
      </div>
    </ul>
  </navbar>
  <div class="main-header">
    <div class="name-info">
      <h1>David Brown</h1>
      <h2>Architect</h2>
    </div>
    <div>
      <img src="http://www.staff.science.uu.nl/~rutte101/astronomershots/sacpeak2017/Alberto-Sainz-Dalda.jpg">
    </div>
  </div>
  <div class="about">
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur egestas hendrerit efficitur. Morbi pellentesque odio in sollicitudin tincidunt. Nunc non arcu in turpis semper egestas. Duis dictum vel enim sed fringilla. Vestibulum laoreet, lacus
      sed convallis dignissim, lacus ante elementum purus, nec luctus dolor libero sed est. Integer ornare elit vel nulla interdum finibus. Integer sollicitudin urna id volutpat mollis. Sed nibh orci, tincidunt ut lacinia quis, posuere nec nibh. Praesent
      porta maximus dolor, nec interdum sapien. Phasellus ac vulputate purus. Aliquam ex velit, dapibus at turpis at, luctus cursus nibh. Quisque id est at lectus eleifend viverra quis eget sapien. Integer ut est augue. Pellentesque habitant morbi tristique
      senectus et netus et malesuada fames ac turpis egestas. Duis at mollis mi.
    </p>
  </div>
</header>
<div class="group">
  <section class="left-side border-red">
    <div class="personal-info">
      <h3>Personal</h3>
      <p><strong>Name</strong>David Brown</p>
      <hr>
      <p><strong>Birthday</strong>31st Dec 1990(26)</p>
      <hr>
      <p><strong>Relationship</strong>Single</p>
      <hr>
      <p><strong>Nationality</strong>US Citizen</p>
      <hr>
      <p><strong>Languages</strong>English, French</p>
      <hr>
      <p><strong>Telephone</strong>+1 (212)-123-4567</p>
      <hr>
    </div>
    <div class="software-info">
      <h3>Software</h3>
      <div class="first-bar">
        <span>Indesign CC</span>
        <progress value="100" max="100"></progress>
      </div>
      <div class="first-bar">
        <span>Illustrator CC</span>
        <progress value="90" max="100"></progress>
      </div>
      <div class="first-bar">
        <span>Photoshop CC</span>
        <progress value="80" max="100"></progress>
      </div>
      <div class="first-bar">
        <span>Illustrator CC</span>
        <progress value="70" max="100"></progress>
      </div>
      <div class="first-bar">
        <span>HTML 5</span>
        <progress value="60" max="100"></progress>
      </div>
      <div class="first-bar">
        <span>CSS 3</span>
        <progress value="50" max="100"></progress>
      </div>
    </div>
    <div class="hobby-info">
      <h3>Hobbies</h3>
        <figure>
          <i class="fa fa-motorcycle fa-4x" aria-hidden="true"></i>
          <figcaption>Riding</figcaption>
        </figure>
        <figure>
          <i class="fa fa-fighter-jet fa-4x" aria-hidden="true"></i>
          <figcaption>Flying</figcaption>
        </figure>
        <figure>
          <i class="fa fa-paint-brush fa-4x" aria-hidden="true"></i>
          <figcaption>Painting</figcaption>
        </figure>
        <figure>
          <i class="fa fa-bed fa-4x" aria-hidden="true"></i>
          <figcaption>Sleeping</figcaption>
        </figure>
        <figure>
          <i class="fa fa-desktop fa-4x" aria-hidden="true"></i>
          <figcaption>Coding</figcaption>
        </figure>
        <figure>
          <i class="fa fa-cutlery fa-4x" aria-hidden="true"></i>
          <figcaption>Eating</figcaption>
        </figure>
      </div>
  </section>
  <section class="right-side border-red">
    <h3>Work</h3>
    <div class="timeline">
      <div class="work-line">
        <ul>
          <li>Design Director at Big Design, New York</li>
          <li>Senior Designer at Design Company, Brookyln</li>
          <li>Designer at Brand New, Paris</li>
        </ul>
      </div>
    </div>
  </section>
  </div>
  <footer>
    <div class="logos">
      <div class="order">
        <div class="box">
          <figure>
            <i class="fa fa-facebook-official fa-4x" aria-hidden="true"></i>
            <figcaption>www.facebook.com/davidbrown</figcaption>
          </figure>
        </div>
        <div class="box">
          <figure>
            <i class="fa fa-linkedin fa-4x" aria-hidden="true"></i>
            <figcaption>www.linkedin.com/in/davidbrown</figcaption>
          </figure>
        </div>
        <div class="box">
          <figure>
            <i class="fa fa-twitter-square fa-4x" aria-hidden="true"></i>
            <figcaption>www.twitter.com/davidbrown</figcaption>
          </figure>
        </div>
      </div>
    </div>
     <div class="main-footer">
      <div class="address">
        <p>Flat 2. 10 Broadway, New York, NY 12345.</p>
      </div>
      <div class="cell-number">
        <p>Cell: + 1 (212) 123-4567.</p>
      </div>
      <div class="email">
        <p>email: davidbrown@gmail.com</p>
      </div>
      <div class="site-email">
        <p>www.davidbrowndesigns.com</p>
      </div>
    </div>
  </footer>
            
          
!
            
              *,
*:before,
*:after {
	box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

.nav-container {
  display: flex;
  flex-direction: row;
  height: 60px;
  align-items: center;
  margin-left: 20px;
}

navbar ul {
	list-style: none;
  background-color: #178DD3;
  margin: 0;
}


navbar ul li {
  color: #87E3FC;
  margin: 10px;
}

navbar ul li:hover {
  border-bottom: 2px solid white;
  color: #F6F9FB;
  padding: 20px 0;
}


h1 {
	color: #D4FCFE;
}

h2 {
  color: #87E3FC;
}

img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	margin-right: 70px;
}


.main-header {
	display: flex;
  flex-direction: row;
  align-items: center;
	justify-content: space-between;
  background-color: #20A7DF;
  height: 230px;
}

.name-info {
	margin-left: 70px;
}

.about {
	padding: 10px 70px;
  background-color: #5B666B;
}

.about p {
  color: #C4CFD1;
}

hr {
  margin-top: 0;
  width: 78%
}



.first-bar {
	line-height: 30px;
  height: 30px;
  border: 1px solid black;
}



  


.first-bar span {
  display: inline-block;
  width: 50%;
  padding-left: 40px;
  padding-bottom: 10px;
}





.logos {
  background-color: #20A7DF;
}

.order {
  display: flex;
  justify-content: center;
}

.left-side {
  float: left;
  width: 33%;
}

.right-side {
  float: right;
  width: 66%;
}

.border-red {
  border: 2px solid red;
}

.personal-info h3 {
 padding-left: 40px;
 padding-bottom: 10px;
}

.personal-info p {
  padding-left: 40px;
}

strong {
  margin-right: 50px;
  display: inline-block;
  width: 20%;
  border: 1px solid black;
}


/****-ClearFix-****/
.group:before,
.group:after {
  content: "";
  display: table;
}

.group:after {
  clear: both;
}

.group {
  clear: both;
  *zoom: 1;
}



footer {
  margin-bottom: 0;
}

 .hobby-info figure {
  display: inline-block;
  width: 30%;
  padding: 0.5em;
  text-align: center;
  padding-left: 40px;
}

.hobby-info {
  border: 1px solid red;
  padding-left: 
}


.work-line {
  border-left: 2px solid black;
  display: inline-block;
}

.timeline { 
  height:60px;
  position: absolute;
  margin-left:30px;
  border-right: 1px solid;
  display:inline-block;

}

/*---- Footer ---- */

.order .box figure {
  text-align: center;
  margin: 0 20px;
}

.order {
  display: flex;
  align-items: center;
  height: 150px;
}

.main-footer {
  display: flex;
  justify-content: center;
  background-color: #178DD3;
}

.site-email {
  margin-left: 60px;
  align-items: center;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console