123

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 class="main-header">
  <div class="logo">
    <h1>Randy Goldsmith</h1>
    <h4>Front End Web Developer</h4>
  </div>
  <nav>
    <ul class="main-nav">
      <li><a href="#">Home</a></li>
      <li><a href="#">Portfolio</a></li>
      <li><a href="#">About</a></li>
      <li><a href="#">Contact</a></li>
    </ul>
  </nav>
</header>
<div class="container">
  <div class="about-content">
    <h3>About Me</h3>
    <p>I'm Randy, a super powered front-end web developer. My strengths include HTML, CSS, and Javascript. I have powers working with popular frameworks such as bootstrap and libraries such as jQuery. Other abilities include working with API's, responsive
      design, and creating clean and elegant code. I have a passion to learn and adapt my powers so that I can deliver the best possible solutions to my clients in all situations. </p>
  </div>
  <div class="container">
  <ul id="gallery">
    <li>
      <a href="#"><img src="https://s6.postimg.org/wi2l9sni9/Screenshot_7.png">
        <p>Weather App</p>
      </a>
    </li>
    <li>
      <a href="#"><img src="https://s6.postimg.org/wi2l9sni9/Screenshot_7.png">
        <p>Weather App</p>
      </a>
    </li>
    <li>
      <a href="#"><img src="https://s6.postimg.org/wi2l9sni9/Screenshot_7.png">
        <p>Weather App</p>
      </a>
    </li>
  </ul>
</div>
<footer>
  <a href="https://twitter.com/duel_drawer8" target="_blank"><img src="https://cdn0.iconfinder.com/data/icons/social-network-7/50/4-128.png"></a>
  <a href="https://www.facebook.com/randy.goldsmith.10" target="_blank"><img src="https://cdn0.iconfinder.com/data/icons/social-network-7/50/3-128.png"></a>
  <a href="www.linkedin.com/in/randygoldsmith" target="_blank"><img src="https://cdn0.iconfinder.com/data/icons/social-network-7/50/9-128.png"></a>
  <a href="https://github.com/Dueldrawer8" target="_blank"><img src="https://cdn0.iconfinder.com/data/icons/social-network-7/50/29-128.png"></a>
  <p>Copyright &copy; 2016 Randy Goldsmith</p>
</footer>

            
          
!
            
              a {
  text-decoration: none;
}


li {
  list-style: none;
}

.container {
  width: 100%;
  margin: 0 auto;
  
}

.logo {
  text-align: center;
  margin: 0;
}

.main-header {
  background:  url('https://static.pexels.com/photos/7095/people-coffee-notes-tea-large.jpg') no-repeat center;
  background-size: cover;
  height: 500px;
  padding-top: 5px;
  border-bottom: 2px solid brown;
  
}

h1, h4 {
  color: white;
}

h3 {
  color: black;
  text-align: center;
}

nav a, a:hover {
  color: white;
  list-style: none;
  text-decoration: none;
}


img{
  width: 100%;
}

.about-content {
  margin-top: 100px;
  border-top: 2px solid maroon;

  
}

/***********************
Navigation
***********************/

nav {
  text-align: center;
  padding: 10px 0;
  margin: 20px 0 0;
}

.main-nav {
  list-style: none;
  margin: 20px 10px;
  padding: 0;
  display: inline-block;
}

nav li {
  display: inline-block;
  border: 2px solid black;
  background: rgba(0, 0, 0, 0.5)
  
}

nav a {
  padding: 15px 10px;
  font-weight: 800;
}
/***********************
Heading
***********************/



/***********************
Footer
***********************/

footer {
  font-size: 0.75em;
  text-align: center;
  clear: both;
  padding-top: 50px;
}

footer img {
  width: 6%;
  padding-bottom: 5px;
}


/***********************
Portfolio
***********************/
#gallery {
  list-style: none;
  margin: 0;
  padding: 0;
}

#gallery li {
  float: left;
  width: 45%;
  margin: 2.5%;
  background-color: #f5f5f5;
  color: #bdc3c7;
  }

#gallery li a p {
  margin: 0;
  padding: 5%;
  font-size: 0.75em;
  color: #bdc3c7;
}

@media screen and (min-width: 480px){
  
  /***********************
  Two Column Layout
  ***********************/
  #primary {
    width: 50%;
    float: left;
  }
  
  #secondary {
    width: 40%;
    float: right;
  }
  
    /***********************
  Portfolio
  ***********************/
  #gallery li {
    width: 28.3333%;
  }
  
  #gallery li:nth-child(3n + 1){
    clear: left;
  }
}


@media screen and (min-width: 700px){
    /***********************
  Header
  ***********************/
  nav {
    background: none;
    float: right;
    font-size: 1.125em;
    margin-right: 2%;
    text-align: right;
  }
  
  nav li {
    
  }
  .logo {
    float: left;
    margin-left: 5%;
    text-align: left;
    width: 33.3%;
  }
  
  
}
            
          
!
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