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

              
                <link
  rel="stylesheet"
  href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
  integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay"
  crossorigin="anonymous"
/>
<link
  href="https://fonts.googleapis.com/css?family=Poppins:200i,300,400&display=swap"
  rel="stylesheet"
/>
<link
  href="https://fonts.googleapis.com/css?family=Raleway:700&display=swap"
  rel="stylesheet"
/>

<!-- Nav Bar -->
<nav id="navbar" class="nav">
  <ul class="nav-list">
    <li>
      <a href="#welcome-section">About</a>
    </li>
    <li>
      <a href="#projects">Work</a>
    </li>
    <li>
      <a href="#contact">Contact</a>
    </li>
  </ul>
</nav>

<!-- About Me -->
<section id="welcome-section" class="welcome">
  <a id="familyPic" href="https://imgur.com/6wPYOHZ"><img src="https://i.imgur.com/6wPYOHZ.jpg" title="A picture of Joshua and his family" /></a>
  <h1> Joshua Webb </h1>
  <h2> A front end developer </h2>
</section>

<!-- Project Grid -->
<section id="projects" class="project-grid">
  <a class="project-tile" href="https://imgur.com/uxdowgu"><img src="https://i.imgur.com/uxdowgu.jpg" title="source: imgur.com" /><p>Tribute Page</p></a>
  <a class="pr2" href="https://imgur.com/xyjAhih"><img src="https://i.imgur.com/xyjAhih.jpg" title="source: imgur.com" /><p>Survey</p></a>
  <a class="pr3" href="https://imgur.com/1OOUFnW"><img src="https://i.imgur.com/1OOUFnW.jpg" title="source: imgur.com" /><p>Product Landing Page</p></a>
  <a class="pr4" href="https://imgur.com/xyjAhih"><img src="https://i.imgur.com/xyjAhih.jpg" title="source: imgur.com" /><p>Technical Document</p></a>
  <a class="pr5" href="https://imgur.com/1OOUFnW"><img src="https://i.imgur.com/1OOUFnW.jpg" title="source: imgur.com" /><p>Java Project 1</p></a>
  <a class="pr6" href="https://imgur.com/uxdowgu"><img src="https://i.imgur.com/uxdowgu.jpg" title="source: imgur.com" /><p>Java Project 2</p></a>
</section>

<!-- Contact Me Icons -->
    <section id="contact" class="contact-section">
  <div class="contact-section-header">
    <h2>Like what you see?</h2>
    <p>You can reach out to me on any though any of the below platforms.</p>
  </div>
  <div class="contact-links">
    <a
      href="https://www.facebook.com/jowebb7"
      target="_blank"
      class="btn contact-details"
      ><i class="fab fa-facebook-square"></i> Facebook</a
    >
    <a
      id="profile-link"
      href="https://github.com/jowebb7"
      target="_blank"
      class="btn contact-details"
      ><i class="fab fa-github"></i> GitHub</a
    >
    <a
      href="https://twitter.com/jo_webb7"
      target="_blank"
      class="btn contact-details"
       ><i class="fab fa-twitter"></i> Twitter</a
    >
    <a href="mailto:jowebb7@gmail.com" class="btn contact-details"
      ><i class="fas fa-at"></i> Send a mail</a
    >
    <a href="tel:703-582-9907" class="btn contact-details"
      ><i class="fas fa-mobile-alt"></i> Call me</a
    >
  </div>
</section>
              
            
!

CSS

              
                html {
  font-size: 20px;
  color: white;
  background-image: linear-gradient(62deg, #35384b 0%, #03071E 100%);
}

html * {
  margin: 0;
  box-sizing: border-box;
  color: inherit;
  text-decoration: none !important;
  
}

.nav{
  display: flex;
  justify-content: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #6A040F;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.nav-list {
  display: flex;
  margin-right: 2rem;
}

.nav-list a {
  display: block;
  font-size: 1rem;
  padding: 1rem;
}

.nav-list a:hover {
  background: #F48C06 ;
}

.nav-list li {
  list-style-type: none;
}
/*centering my about me*/
.welcome {
  margin: auto;
  width: 100%;
  height: 100vh;
  padding: 10px;
  text-align: center;
  padding-top: 5rem;
  margin-bottom: 15%;
}

.welcome * {
  margin: auto;
  width: 50%;
  padding: 10px;
}
.welcome img {
  display: flex;
}
.welcome h2 {
  font-size: 1rem;
}


/*Setting up the Grid */
.project-grid a * { 
  display: flex;
  flex-direction: column;
}

.project-grid {
  padding-left: 8%;
  padding-right: 8%;
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr) );
  grid-column-gap:7rem;
  grid-row-gap: 5rem;
  background-color: #370617;
}


.project-grid a > img{
  object-fit: fill;
  max-width: 100%;
  height: auto;
  border: 3px solid #03071E;
}
.project-grid a > p {
  text-align: center;  
  background: #03071E;
  padding: 2rem;
}

/* Contact Section */

.contact-section{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem;
}


@media (max-width: 28.75em) {
  .contact-section-header > h2 {
    font-size: 4rem;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console