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

              
                <!doctype html>
<html>
  <head>
    <meta name="viewport" conten="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
    <link rel="stylesheet" href="style.css">
  </head>
  
  <body> 
    
   <!-- Navigation bar-->
    <header>
      <div class="container">
        <nav class="navbar navbar-expand-lg navbar-light">
  <a class="navbar-brand mdp" href="#">MDP</a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>

  <div class="collapse navbar-collapse" id="navbarSupportedContent">
    <ul class="d-flex align-items-end navbar-nav ml-lg-auto">
      <li class="nav-item active">
        <a class="nav-link" href="#">Home<span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#About">About</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#Portfolio">Portfolio</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#Contact">Contact</a>
      </li> 
    </ul>
    
  </div>
</nav>
      </div>
    </header>
    
    <!-- Banner -->
    <section class="banner">
      <div class="container">
        <div class="row"> 
          <div class="col-sm-6 top">
            <h2>Web Design & Development</h2>
            <p>Clean, creative, and responsive web design and development with close attention to user experience and user interface.</p>
            <a href="#About" class="btnD1">Read More</a>
          </div>
        </div>
      </div>
    </section>
    
  
    <!-- "About" section -->
    <section class="about" id="About">
      <div class="container">
        <div class="row">
          <div class="col-sm-6 bottom">
            <h2 class="white-text">About</h2>
            <p class="white-text">At MDP Web Design and Development I employ technologies such as html, css, javaScript, bootstrap, React, and Wordpress to go above and beyond the end product expected and required by the client, while constantly adding new tools to the toolbox and keeping an eye out for the latest trends in design and development.</p>
            <a href="#Portfolio" class="btnD1">Portfolio</a>
          </div>
        </div>
      </div>
    </section>
    
    <!-- Portfolio section -->
    <section class="portfolio">    
      <h2 class="port" id="Portfolio">Portfolio</h2>
        
<div class="main">

<!-- Portfolio Gallery Grid -->
<div class="row">
  <div class="column">
    <div class="content">
      <a href="https://codepen.io/MarcelPenn/pen/qVyyRb" target="_blank"><img class="big"src="https://res.cloudinary.com/marpenncloud/image/upload/v1560645085/Screen_Shot_2019-06-15_at_8.31.16_PM_zyaneb.png" alt="Weather" style="width:100%"></a>
      <h3>Random Quote Generator</h3>
      <p>A simple random quote generator utilizing a small local library.</p>
    </div>
  </div> 
  <div class="column">
    <div class="content">
      <a href="https://codepen.io/MarcelPenn/pen/vjoooX" target="_blank"><img class="big" src="https://res.cloudinary.com/marpenncloud/image/upload/v1560645530/Screen_Shot_2019-06-15_at_8.38.38_PM_yuvgip.png" alt="Lights" style="width:100%"></a>
      <h3>Wikipedia Viewer</h3>
      <p>A basic interface to view wikipedia articles.</p>
    </div>
  </div>
  <div class="column">
    <div class="content">
      <a href="#"><img class="big" src="https://res.cloudinary.com/marpenncloud/image/upload/v1560645085/Screen_Shot_2019-06-15_at_8.31.16_PM_zyaneb.png" alt="Random Quote Machine" style="width:100%"></a>
      <h3>Random Quote Machine</h3>
      <p>Lorem ipsum..</p>
    </div>
  </div>
  <div class="column">
    <div class="content">
      <a href="#"><img class="big" src="https://res.cloudinary.com/marpenncloud/image/upload/v1560645530/Screen_Shot_2019-06-15_at_8.38.38_PM_yuvgip.png" alt="Wikipedia viewer" style="width:100%"></a>
      <h3>My Work</h3>
      <p>Lorem ipsum..</p>
    </div>
  </div>
</div>
  
 <div class="row">
  <div class="column">
    <div class="content">
      <a href="https://codepen.io/MarcelPenn/pen/qVyyRb" target="_blank"><img class="big" src="https://res.cloudinary.com/marpenncloud/image/upload/v1560645085/Screen_Shot_2019-06-15_at_8.31.16_PM_zyaneb.png" alt="Weather" style="width:100%"></a>
      <h3>Random Quote Generator</h3>
      <p>A simple random quote generator utilizing a small local library.</p>
    </div>
  </div> 
  <div class="column">
    <div class="content">
      <a href="https://codepen.io/MarcelPenn/pen/vjoooX" target="_blank"><img class="big" src="https://res.cloudinary.com/marpenncloud/image/upload/v1560645530/Screen_Shot_2019-06-15_at_8.38.38_PM_yuvgip.png" alt="Lights" style="width:100%"></a>
      <h3>Wikipedia Viewer</h3>
      <p>A basic interface to view wikipedia articles.</p>
    </div>
  </div>
  <div class="column">
    <div class="content">
      <a href="#"><img class="big" src="https://res.cloudinary.com/marpenncloud/image/upload/v1560645085/Screen_Shot_2019-06-15_at_8.31.16_PM_zyaneb.png" alt="Random Quote Machine" style="width:100%"></a>
      <h3>Random Quote Machine</h3>
      <p>Lorem ipsum..</p>
    </div>
  </div>
  <div class="column">
    <div class="content">
      <a href="#"><img class="big" src="https://res.cloudinary.com/marpenncloud/image/upload/v1560645530/Screen_Shot_2019-06-15_at_8.38.38_PM_yuvgip.png" alt="Wikipedia viewer" style="width:100%"></a>
      <h3>My Work</h3>
      <p>Lorem ipsum..</p>
    </div>
  </div>
</div>
    </section>
       
   <!-- Contact section -->
    <section class="contact" id="Contact">
      <div class="container contact-section">
        <div class="row">
         <div class="col-sm-4"></div>
         <div class="col-sm-4"></div>
         <div class="col-sm-4 top">
         <h2 class="white">Contact</h2>                  <div class="row contact-col">
        <div class="column col-width">
         <a href="https://github.com/MarcelPenn" target="_blank" ><img  src="https://res.cloudinary.com/marpenncloud/image/upload/v1561688467/iconfinder_mark-github_298822_v3lfzq.png" alt="Github"></a>
      </div>
      <div class="column col-width">
    <a href="https://www.linkedin.com/in/marcel-penney-506007141/" target="_blank"><img src="https://res.cloudinary.com/marpenncloud/image/upload/v1562289843/61109_qorpno.png" alt="LinkedIn"></a>
     </div>
     <div class="column col-width">
      <a href="https://codepen.io/MarcelPenn/" target="_blank"><img src="https://res.cloudinary.com/marpenncloud/image/upload/v1561688456/iconfinder_Codepen_1298732_f2fghy.png" alt="Codepen"></a>
     </div>
    </div>
   </div>
  </div>
 </div>
         <p class="mail">marcelpenney@hotmail.com</p>
      </section>
   
       
      
      
      
      
<!-- Footer section -->
       <footer class="copyright">
          <div>
            <i class="fas fa-chevron-up"></i>
            <p>&copy 2019 Marcel Penney</p>
          </div>
        </footer>
        
    
    
    <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
  </body>
</html>
              
            
!

CSS

              
                header {
  position: absolute;
  z-index: 10;
  width: 100%;
  
}

.navbar {
  margin: 20px 0;
  
}

.nav-link:hover {
 border-top: 3px solid #FF6347;
 border-bottom: 3px solid #FF6347;
}
.navbar-brand {
}

.nav-item {
  font-weight: 800;
  text-transform: uppercase;
}

.navbar-light .navbar-nav .navbar-link {
  background: #262626;
  color: #fff;
}


/*banner section */
.banner {
  
  background: url("https://res.cloudinary.com/marpenncloud/image/upload/v1560807400/desk-1081708_1280_xzivvw.jpg");
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  padding: 250px 0 200px;
  
}

.btnD1 {
  display: inline-block;
  margin: 1em 0 0;
  background: #FFF;
  padding: 10px 20px;
  text-transform: uppercase;
  border: none;
  font-weight: 800;
}

.btnD1:hover {
  color: #FF6347;
  text-decoration: none;
}

.navbar-light .navbar-toggler {
  border: 2px solid black;
  border-radius: 0;
  outline: none;
 
}

.about {
  background: url("https://res.cloudinary.com/marpenncloud/image/upload/v1561574186/notebook-1280538_1280_ayzeaf.jpg");
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  padding: 250px 0 200px;
}

.top {
  margin-top: -100px;
}

@media only screen and (max-width: 900px) .top {
  margin-top: 400px;
}

.white-text {
  color: white;

}
.bottom {
  top: -200px;
}


/* portfolio */
.portfolio {
   background: url("https://res.cloudinary.com/marpenncloud/image/upload/v1561588714/gray-2158653_1280_k1fdks.jpg");
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  padding-top: 80px;
}

.main {
    max-width: 1000px;
    margin: auto;
}

h1 {
    font-size: 50px;
    word-break: break-all;
}

.row {
    margin: 8px -16px;
}

/* Add padding BETWEEN each column (if you want) */
.row,
.row > .column {
    padding: 8px;
}

/* Create four equal columns that floats next to each other */
.column {
    float: left;
    width: 25%;
}

/* Clear floats after rows */ 
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Content */
.content {
    background-color: transparent;
    
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 900px) {
    .column {
        width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        width: 50%;
    }
}


h2 {
  font-weight: bold;
  text-transform: uppercase;
}

.port {
  margin-top: 19%;
  margin-left: 5%;
  font-size: 40px;
  border-bottom: 6px solid black;
}

.contact {
   background: url("https://res.cloudinary.com/marpenncloud/image/upload/v1562011341/phone-3632553_1280_e3at3l.jpg");
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  padding: 250px 0 200px;
  margin-top: -10px;
}

.contact-section {
  margin-top: -150px;
  font-size: 200px;
  font-weight: bold;
}

footer {
  background-color: #FF6347;
  height: 25px;
}

.white {
  color: white;
  margin: 10px;
}

 
.contact-col {
  margin-top: -140px;
  
  
}

.col-width {
  margin: 11px;
}

img {
  width: 80px;
}

img:hover {
  width: 90px;
}
.mail {
  float: right;
  margin-right: 110px;
  margin-top: -120px;
  font-weight: bold;
  font-size: 20px;
  border-right: 3px solid #FF6347;
  border-left: 3px solid #FF6347;
  padding: 10px;
}

.mdp {
  border-top: 3px solid #FF6347;
  border-bottom: 3px solid #ff6347;
}

.big {
  border: 2px solid blue;
}
.big:hover {
  border: 2px solid orange;  
}

              
            
!

JS

              
                
              
            
!
999px

Console