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

              
                <body>
  <head>
    <title>Stewart Portfolio</title>
  </head>
  <header class="hero-header" id="backtotop">
    <div class="header-flex">
    <h1 class="Company">Web Development and Design</h1>
      <img class="compass" src="https://lh3.googleusercontent.com/proxy/ONMOywUS6uzWnnghIGvFnStMETD4X40qgv_JGhrU96mNXZBZ339z6qXVPua4pMY5U16rCvZkLuIIcR88KPllvL6W8Tw0xywNgEl03Cw6BChvedfjvNbeaCNqBGnQUbQ00XTwayJnQYfFzOkrsWX9wIo">
    </div>
  </header>
  
  <main>
    <section id="about-us">
      <h2><u>About Me</u></h2>
        <h3>This project is meant to display my progress through learning to code and develop front end interfaces</h3>
        <p> The entire page is coded with HTML5 and CSS, this page is meant to practice CSS positioning with Grid and Flex. I am hoping that through these examples I will be able to develop best practices in regards to overall website layouts. The start date for learning these concepts began on May 18th, 2020. I also plan to document this progress to demonstrate to others what to expect when diving into this type of learning as it does recquire abstract problem solving. There will be updates with added complexity when I begin utilizing JS and the idea is use JS to springboard into other scripting languages with HTML and CSS being the bases for typing with syntax. </p>
    </section>
    <section id="portfolio">
      
      <div class="portfolio-grid">
        
        <h2 class="portfolio-header"><u> My work </u></h2>
        <p class="portfolio-header">(thus far)</p>
        
        <iframe id="courage-project" height="765" style="width: 100%;" scrolling="no" title="mdegQwM" src="https://codepen.io/PretzelDracula/embed/mdegQwM?height=265&theme-id=light&default-tab=result" frameborder="no" allowtransparency="true" allowfullscreen="true">
  See the Pen <a href='https://codepen.io/PretzelDracula/pen/mdegQwM'>mdegQwM</a> by Eric
  (<a href='https://codepen.io/PretzelDracula'>@PretzelDracula</a>) on <a href='https://codepen.io'>CodePen</a>.
</iframe>
        
        <iframe id="product-project" height="765" style="width: 100%;" scrolling="no" title="Fork Me! FCC: Test Suite Template" src="https://codepen.io/PretzelDracula/embed/MWaMgVE?height=265&theme-id=light&default-tab=result" frameborder="no" allowtransparency="true" allowfullscreen="true">
  See the Pen <a href='https://codepen.io/PretzelDracula/pen/MWaMgVE'>Fork Me! FCC: Test Suite Template</a> by Eric
  (<a href='https://codepen.io/PretzelDracula'>@PretzelDracula</a>) on <a href='https://codepen.io'>CodePen</a>.
</iframe>
        
        <iframe id="quickstartguide-project" height="765" style="width: 100%;" scrolling="no" title="Fork Me! FCC: Test Suite Template" src="https://codepen.io/PretzelDracula/embed/WNreaMV?height=265&theme-id=light&default-tab=result" frameborder="no" allowtransparency="true" allowfullscreen="true">
  See the Pen <a href='https://codepen.io/PretzelDracula/pen/WNreaMV'>Fork Me! FCC: Test Suite Template</a> by Eric
  (<a href='https://codepen.io/PretzelDracula'>@PretzelDracula</a>) on <a href='https://codepen.io'>CodePen</a>.
</iframe>
        
        <iframe id="survey-project" height="765" style="width: 100%;" scrolling="no" title="Fork Me! FCC: Test Suite Template" src="https://codepen.io/PretzelDracula/embed/gOaJwoZ?height=265&theme-id=light&default-tab=result" frameborder="no" allowtransparency="true" allowfullscreen="true">
  See the Pen <a href='https://codepen.io/PretzelDracula/pen/gOaJwoZ'>Fork Me! FCC: Test Suite Template</a> by Eric
  (<a href='https://codepen.io/PretzelDracula'>@PretzelDracula</a>) on <a href='https://codepen.io'>CodePen</a>.
</iframe>
        
        <iframe id="development-project" height="765" style="width: 100%;" scrolling="no" title="Fork Me! FCC: Test Suite Template" src="https://codepen.io/PretzelDracula/embed/wvKVzay?height=265&theme-id=light&default-tab=result" frameborder="no" allowtransparency="true" allowfullscreen="true">
  See the Pen <a href='https://codepen.io/PretzelDracula/pen/wvKVzay'>Fork Me! FCC: Test Suite Template</a> by Eric
  (<a href='https://codepen.io/PretzelDracula'>@PretzelDracula</a>) on <a href='https://codepen.io'>CodePen</a>.
</iframe>
    </section>
      
    <section id="contact-us">
      <h2 id="contacth2"> Contact Me </h2>
      <form class="contact-us-form">
        <label for="name"></label>
          <input class="form1" type="text" placeholder="Name" alt="Enter Name Here" recquired>
        <label for="email"></label>
          <input class="form2" type="email" placeholder="Email" alt="Enter Email Here" recquired>
        <label for="text-area"></label>
          <textarea class="form3" rows="2" cols="24">Enter Message Here</textarea>
        <label for="submit"></label>
          <input class="form-submit" type="submit" id="submit" value="Submit">
      </form>
    </section>
    
    <nav>
      <a href="#backtotop"><img class="logo-btn" src="https://www.pngfind.com/pngs/m/154-1541132_beautiful-lotus-flower-png-beautiful-logo-download-transparent.png" alt="company logo button takes you back to the top of the page"></a>
      <ul>              
        <li>
          <a href="#about-us" class="navlink" id="aboutnav">About Me</a>
        </li>
        <li>
          <a href="#portfolio" class="navlink" id="portfolionav">My Work</a>
        </li>                       
      </ul>
      <a href="#contact-us" class="navlink" id="contact-btn">Contact Me</a>
    </nav>
    
  </main>
  
  <footer>
    <div class="footer-wrap">
    <a href="https://www.youtube.com/" class="youtube-footer" target="_blank"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/YouTube_play_buttom_icon_%282013-2017%29.svg/1200px-YouTube_play_buttom_icon_%282013-2017%29.svg.png"></a>
    <a href="https://twitter.com/explore" class="twitter-footer" targer="_blank"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAM1BMVEUdofL////G5/zx+f45rfNxxPeAyvcrp/Pj8/6O0PhVuPW44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u1SB+yhpufnrI4N08nTMqmrG4JSu+G8y+VDpqeyuNCO3LofuTZ/PXN+XO/14Azdx9t9VfX/zEaNkT0HGwrWjhGRkLDTB937zIiEZCzqkk1Jjkl9SoWmJMFEVG7povVxf5X/gC0OG4ji5m+4PiHgzTOXY5vbqKNO3YzmlU00RqfRKYqEJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPzP/AMK7yZAcCDbbQAAAABJRU5ErkJggg=="></a>
    <a href="https://mail.google.com/mail/u/0/#inbox" class="email-footer" target="_blank"><img src="https://www.pngitem.com/pimgs/m/152-1521295_email-marketing-for-small-law-firms-email-icon.png"></a>
    </div>
  </footer>
</body>
              
            
!

CSS

              
                @import url(https://fonts.google.com/specimen/Heebo);

* {
  margin: 0;
  font-family: "Heebo", Helvetica;
}

.hero-header {
  background-image: url("https://images.pexels.com/photos/62693/pexels-photo-62693.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");
  background-color: #;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  height: 600px;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 8em;
  flex-direction: row;
}

.compass {
  mix-blend-mode: multiply;
}

#about-us {
  background-color: #CED4DA;
  background-size: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 200px;
  border-top: 1px solid #495057;
  border-bottom: 1px solid #495057;
  padding: 20px 100px 20px 100px;
}

#portfolio {
  background-color: #495057;
  height: auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 15px;
  padding: 15px;  
}


.portfolio-header {
  grid-column: 1/4;
  justify-content: center;
  text-align: center;
}

#aboutnav {
  border: none;
  border-radius: 50px;
  padding: 5px 20px;
  background-color: #212529;
  color: #ADB5BD;
  transition: all 0.3s ease 0s;
}

#aboutnav:hover {
  background-color: #E9ECEF;
  color: #212529;
}

#portfolionav {
  border: none;
  border-radius: 50px;
  padding: 5px 20px;
  background-color: #212529;
  color: #ADB5BD;
  transition: all 0.3s ease 0s;
}

#portfolionav:hover {
  background-color: #E9ECEF;
  color: #212529;
}

nav {
  background-color: #343A40;
  position: fixed;
  top: 0px;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

ul a{
  list-style: none;
}

a {
  text-decoration: none;  
}

#contact-btn {
  padding: 0px 20px;
  background-color: #ADB5BD;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  color: #212529;
}

#contact-btn:hover {
  background-color: #DEE2E6;
}

li {
  display: inline-block;
  padding: 0px 20px;
}

.logo-btn {
  height: 30px;
  mix-blend-mode: multiply;
  border: ;
}

#contact-us {
  background: linear-gradient(#495057 0%, #F8F9FA 10%);
  background-size: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 200px;
  border-top: 1px solid #495057;
  border-bottom: 1px solid #495057;
  padding: 20px 100px 20px 100px;
}

}

form {
  height: 30px;
}

.footer-wrap {
  display:flex;
  justify-content: flex-start;
  height: 75px;
  background-color: #343A40;
  padding-left: 20px;
}

.footer-wrap img{
  width: auto;
  height: 50px;
  margin-top: 15px;
  margin-left: 20px;
}


              
            
!

JS

              
                /* */
              
            
!
999px

Console