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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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 class="header">

  <div id="logo" class="logo">
    <h1>
      <span class="visuallyhidden">Wens Designs</span>
    </h1>
    <!-- <img src="https://dl.dropboxusercontent.com/s/yz7kvfmlf812dzf/brandlogoresizedverticalsmall.png" alt="" /> -->
    <img src="http://placehold.it/427x112" alt="placeholder image">
  </div>
</header>
<nav id="nav" class="nav">
  <ul class="nav_list">
    <li><a href="#!">About</a></li>
    <li><a href="#!">Work</a></li>
    <li><a href="#!">Contact</a></li>
  </ul>
</nav>

<div id="main" class="main">
  <div class="row">

    <div id="drawing" class="drawing width-3of5">
      <!-- <img src="https://dl.dropboxusercontent.com/s/tjq3eorml2c40pg/laptopme.png" alt="" /> -->
      <img src="http://placehold.it/810x500" alt="placeholder image">
    </div>

    <div id="homepagetext" class="homepagetext width-2of5">

      <h2 id="greeting" class="greeting">Hello, My Name Is My Name.</h2>
      <h3 id="ramen" class="ramen">(And I am fueled by the power of ramen)</h3>

      <div class="short-intro">

        <p>
        But also, I am a Graphic Designer and Graphic Illustrator.
        I love designing cool things for people.
        Ever since I've been able to hold a pencil I love being creative
        and I can't imagine doing anything else.
        </p>

        <p>
        I enjoy learning new things be it technical or a new language.
        Innovation comes from being open to new ideas
        and new ways of thinking.
        </p>

        <p>
        Need a logo? Got a website you want designed?
        </p>

      </div>

      <div id="button" class="button button-large">
        <a href="#!">Let's Get In Touch!</a>
      </div>

    </div><!-- /.homepagetext.width-2of5 -->
  </div><!-- /.row -->

  <div class="line inverted">
    <div class="row">

      <div id="aboutme" class="aboutme width-3of5">

        <div id="about-pic" class="about pic">
          <!--  <img src="https://dl.dropboxusercontent.com/s/31a6c9cfjxo1yze/about-me-pics-together2.png" alt="" /> -->
          <img src="http://placehold.it/827x437" alt="placeholder image">

        </div>

      </div><!-- /.aboutme.width-3of5 -->

      <div class="bio width-2of5">

        <div id="biotext" class="biotext">
          <h1>About Me</h1>

          <p>
          I am a freelance Graphic Designer and Graphic Illustrator specializing in creating engaging designs
          ranging from logos and icons to websites and print for businesses.
          I am creative, versatile, and overall someone who isn't afraid to tackle problems head on.
          </p>

          <p>
          My life has taken me to many professions (from teaching ESL in S. Korea to Licensed Medicare Insurance Agent)
          and I believe that all of my previous job experiences helped me to become a better designer. I want to put my talents
          and passion for Design to help businesses grow and expand their presence.
          </p>
        </div><!-- /.biotext -->

      </div><!-- /.bio.width-2of5 -->

    </div><!-- /.row -->
  </div><!-- /.line -->

  <div class="line inverted">
    <div class="row mtm">

      <!-- <div id="heartimage" class="heartimage"> -->
      <!--   <img src="https://dl.dropboxusercontent.com/s/yb3wel391ltwffr/hearticon.png" alt="" /> -->
      <!-- </div> -->
      <!--  -->
      <div class="showcase width-3of5">

        <h1>My Work</h1>

      </div>

      <!-- <div id="heartimage2" class="heartimage2"> -->
      <!--   <img src="https://dl.dropboxusercontent.com/s/yb3wel391ltwffr/hearticon.png" alt="" /> -->
      <!-- </div> -->
      <!--  -->
      <div class="GDheader width-2of5">

        <h2>Graphic Design</h2>
      </div>

      <!-- <div id="GDimage1" class="GDimage1"> -->
      <!--   <img src="https://dl.dropboxusercontent.com/s/k4x0whgtogvy2nn/gdthumbnail_1.png" alt="" /> -->
      <!-- </div> -->

    </div><!-- /.row -->
  </div><!-- /.line -->
</div><!-- /.main -->
 
              
            
!

CSS

              
                * {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  outline: 1px dotted salmon;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
html,
body {
  min-height: 100%;
}
body {
  /* font-size: 100%; */
  font: 100%/1.375 Geneva, Verdana, sans-serif;
  height: 100%;
  max-width: 1920px;
}
.line,
.row {
  overflow: auto;
  clear: left;
}
.row {
  /* max-width: 1600px; */
  max-width: 100em;
  margin: 0 auto;
  padding: 0 1em;
}
.header {
  text-align: center;
  overflow: auto;
}
.logo {
  padding-top: 2.5em;
}
.greeting {
  /* font-family: Geneva; */
  font-size: 40px;
}
a  {
  text-decoration: none;
  color: #b42342;
  font-weight: bold;
}
.nav {
  overflow: auto;
  margin-bottom: 2.5em;
}
.nav_list {
  margin: 0 auto;
  width: 20em;
}
.nav li,
.nav li a {
  float: left
}
.nav li  {
  list-style-type: none;
  /* padding: 20px; */
  /* display: inline; */
  /* font-family: Geneva; */
}
.nav li a {
  padding: 20px;
  transition: all .4s;
  -webkit-transition: all .4s;
  -moz-transition: all .4s;
}
.nav li a:hover {
  background-color: #b42342;
  color: #fff;
}
.nav_list {
  padding-top: 10px;
}
.drawing {
  /* float: left; */
  /* display: inline; */
  /* margin-top: 20px; */
  padding: 1em 2em 1em 0;
}
.ramen {
  /* font-family: Geneva; */
  font-size: 20px;
}
.short-intro {
  /* font-family: Geneva; */
}
.button {
  /* font-family: Geneva; */
  color: white;
  text-align: center;
  border: 12px solid black;
  background: black;
  /* width: 300px; */
  max-width: 300px;
  margin: 40px 0 0 50px;
}
.button-large a {
  font-size: 25px;
  color: white;
  padding: 10px;
}
.homepagetext {
  /* display: inline; */
  /* float: left; */
  /* margin-top: 200px; */
  /* width: 810px; */
  padding-top: 1em;
  margin-bottom: 2em;
}
.homepagetext p {
  padding-top: 20px;
}
.main {
  /* margin-top: -150px; */
  overflow: auto;
  position: relative;
  /* z-index: 1; */
  /* max-width: 100em; */
  /* margin: 0 auto; */
}
.inverted,
.colorbar {
  background-color: #b42342;
}
.colorbar {
  /* background-color: #b42342; */
  /* height: 100%; */
  /* position: absolute; */
  /* bottom: -385px; */
  /* width: 1920px; */
  /* z-index: -1; */
  /* top: 675px; */
  /* left: 0; */
  /* right: 0; */
}
.heartimage  {
  /* display: inline; */
  /* float: left; */
  /* padding-top: 140px; */
  /* margin-left: -355px; */
}
.aboutme {
  /* float: left; */
  /* margin-top: -450px; */
  /* margin-left: -250px; */
}

.GDheader,
.showcase {
  min-height: 310px;
  text-align: center;
  padding-top: 2.5em;
}
.showcase {
  /* display: inline; */
  /* float: left; */
  /* margin-top: 200px; */
  /* margin-left: -1100px; */
  /* background: url(https://dl.dropboxusercontent.com/s/yb3wel391ltwffr/hearticon.png) .5em 8em no-repeat;  */
  background: url(http://placehold.it/75x79) .5em 8em no-repeat;
}
.showcase h1 {
  font-size: 50px;
  color: white;
}
.heartimage2 {
  /* display: inline; */
  /* float: left; */
  /* padding-top: 190px; */
  /* margin-left: -870px; */
}
.GDheader {
  /* display: inline; */
  /* float: left; */
  /* padding-top: 300px; */
  /* margin-left: -1100px; */
  /* background: #fff url(https://dl.dropboxusercontent.com/s/k4x0whgtogvy2nn/gdthumbnail_1.png) 1em 6em no-repeat; */
  background: #fff url(http://placehold.it/200x200) 1em 6em no-repeat;
  color: #111;
  margin-bottom: 2.5em;
}
.button-large a,
.GDheader h2 {
  font-size: 25px;
  /* color: white; */
}
.GDimage1 {
  /* display: inline; */
  /* float: left; */
  /* margin-top: 400px; */
  /* margin-left: -1100px; */
}
.bio {
  color: white;
}
.biotext {
  /* display: inline; */
  /* float:   left; */
  /* padding-top: 50px; */
  padding-top: 2.5em;
  /* width: 600px; */
  /* margin-top: 100px; */
  /* margin-left: -20px; */
  margin-bottom: 2.5em;
}
.biotext h1 {
  font-size: 50px;
}

/* added to let images scale */
img {
  max-width: 100%;
}
.about {
  padding-top: 2.5em;
  padding-right: 1em;
}
.about img {
  /* max-width: initial; */
}
/* added to hide: .header h1 span */
/* https://raw.github.com/h5bp/html5-boilerplate/master/css/main.css */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.mtm {
  margin-top: 2.5em;
}
@media (min-width: 800px) {
  /* added grid for desktop screens (browser viewport sizes wider than 800px) */
  [class*="width-"] {
    float: left;
  }
  .width-1of5 {
    width: 20%;
  }
  .width-2of5 {
    width: 40%;
  }
  .width-3of5 {
    width: 60%;
  }
  .width-4of5 {
    width: 80%;
  }
  .width-1of2 {
    width: 50%;
  }
}

              
            
!

JS

              
                // [trying to help someone with CSS layout](https://css-tricks.com/forums/topic/background-cuts-off-at-bottom-when-adding-an-image/)

              
            
!
999px

Console