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

              
                <!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta charset="utf-8">
    <title>NavBar</title>
    <link rel="stylesheet" type="text/css" href="style.css"/>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
    <link href="https://fonts.googleapis.com/css?family=Lobster|Raleway" rel="stylesheet">
  </head>
  
  <body>
    
    
    
    <nav class="navbar navbar-light bg-dark navbar-expand-lg">
      <a href="#home" id="home" class="navbar-brand logo">
        <span class="span0"><span class="spanA element">Marcel</span><span class="span1">P</span><span class="span2">e</span><span class="span3">n</span><span class="span4">n</span><span class="span5">e</span><span class="span6">y</span><span class="spanA element">Media</span></span></a>
      
      <!-- collapsable menu -->
      <button class="navbar-toggler" data-toggle="collapse" data-target="#navbarMenu">
        <span class="navbar-toggler-icon"></span>
      </button>
      
      <!-- Menu items -->
      <div class="collapse navbar-collapse" id="navbarMenu">
      <ul class="navbar-nav ml-auto nav-fill w-50">
        <li class="nav-item">
          <a href="#About" class="nav-link About"><span class="spanLink element" >About</span></a>
        </li>
        <li class="nav-item">
          <a href="" class="nav-link"></a>
        </li>
        <li class="nav-item">
          <a href="#Portfolio" class="nav-link"><span class="spanLink element">Portfolio</span></a>
        </li>
        <li class="nav-item">
          <a href="#Contact" class="nav-link"><span class="spanLink element">Contact</span></a>
        </li>
      </ul>
      </div>
      
    </nav>
    

    <div>
      <div class="row">
        <div class="banner">
    <img src="https://res.cloudinary.com/marpenncloud/image/upload/v1539201320/pexels-photo-160107_lssnol.jpg" alt="Laptop computer" style="border: 5px solid black;">
  
          <h1 class="heading element">Web <span class="span1">D</span>esign<br>     &     <br><span class="span1 element">D</span>evelopment</h1>
        </div>
      </div>
    </div>
  
     
    
    
    <div class="main-content">
    
     
        
     
    <!--   Rows and Columns   -->
        
        <div id="myContainer">
          <div class="d1"><img class="left-image left1" src="https://res.cloudinary.com/marpenncloud/image/upload/v1539218752/if_HTML_Logo_65687_rgmau4.png" alt="HTML5">
            <img class="left-image left2" src="https://res.cloudinary.com/marpenncloud/image/upload/v1539278886/if_social_media_social_media_logo_bootsrap_2993792_ix7vj0.png" alt="Bootstrap">
          </div>
          <div class="d2">
        <header id="About">About</header>
            <hr>
        <p>!THIS IS TEST TEXT!!
Hello and Welcome to Marcel Penney Media! Here I employ clean, creative, and responsive UX/UI front-end web development utilizing CSS, HTML, Bootstrap, Amazon Web Services, Wordpress, and JavaScript (functional and object-oriented programming), with experience using JSON API's, JQuery, Git and GitHub, and constantly adding new technologies and tools to the toolbox. Please look around and feel free to contact me if you have any questions. Thank you / Merci!</p>
          </div>
          <div class="d3"><img class="right-image right1" src="https://res.cloudinary.com/marpenncloud/image/upload/v1539279854/CSS.3.svg_ruc0rg.png" alt="CSS3">
            <img class="right-image right2" src="https://res.cloudinary.com/marpenncloud/image/upload/v1539279840/logo-javascript-png-html-code-allows-to-embed-javascript-logo-in-your-website-587_kmnx3w.png" alt="javaScript">
          </div>
          
          
        </div>
      
      
      </div>
      
      <br>
      <br>
      
    
    <!--Portfolio Grid -->
    <header id="Portfolio">Portfolio</header>
      <hr>
      
      <div class="portfolio-grid">
        <div class="d1"><a href="https://codepen.io/MarcelPenn/pen/rYvOPw" target="_blank"><img id="portImage" src="https://res.cloudinary.com/marpenncloud/image/upload/v1539453383/Screen_Shot_2018-10-13_at_1.52.05_PM_hmevvf.png" alt="Random Quote machine"><span class="portSpan"> Random Quote Machine</span></a>
        </div>
        <div class="d2"><a href="https://codepen.io/MarcelPenn/pen/QVexRw" target="_blank"><img id="portImage" src="https://res.cloudinary.com/marpenncloud/image/upload/v1539453344/Screen_Shot_2018-10-13_at_1.53.39_PM_mcvhnd.png" alt="Bootstrap Carousel"><span class="portSpan"> Integrated Bootsrap Carousel</a>
        </div>
          <div class="d3"><a href="https://codepen.io/MarcelPenn/pen/xaravO" target="_blank"><img id="portImage" src="https://res.cloudinary.com/marpenncloud/image/upload/v1539453338/Screen_Shot_2018-10-13_at_1.52.56_PM_jx5bmy.png" alt="Documentation Page"><span class="portSpan"> Documentation page</a></div>
          <div class="d4"><a href="https://codepen.io/MarcelPenn/pen/oPOJww" target="_blank"><img id="portImage" src="https://res.cloudinary.com/marpenncloud/image/upload/v1539453320/Screen_Shot_2018-10-13_at_1.54.21_PM_sqdxnb.png" alt="survey form"><span class="portSpan"> Survey Form Template</a></div>
      </div>
      <hr>
      <br>
      <br>
     
    <div class="contactCenter">
    <header id="Contact">Contact</header>
        
        <a href="https://github.com/MarcelPenn" target="_blank"><img class="img1" src="https://res.cloudinary.com/marpenncloud/image/upload/v1527026150/if_mark-github_298822_jmm5c9.svg" alt="Github"></a>
        <a href="https://www.linkedin.com/in/marcel-penney-506007141/" target="_blank"><img class="img1" src="https://res.cloudinary.com/marpenncloud/image/upload/v1527026476/if_Linked_in_255149_bpqsxn.svg" alt="linkedIn"></a>
        <h4>marcelpenneymedia@gmail.com</h4>
        </div>
      
     
    
    
    <footer>
      <h6>Websites and Templates Developed by <span class="spanA">MarcelPenneyMedia</span></h6> 
        </footer>
    
    
    <!-- Bootstrap plugins -->
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
  </body>
              
            
!

CSS

              
                * {
  margin: 0;
  padding: 0;
 
}

html {
  overflow-x: hidden;
}

.banner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

.banner img {
  width: 100%;
  overflow-x: hidden;
}

.heading {
  color: white;
  position: absolute;
  top: 20%;
  width: 100%;
  text-align: center;
  font-size: 60px;
  font-family: Lobster;
  text-decoration: underline;
}

#About {
  margin-top: 20px;
}



.img1 {
  width: 75px;
  height: 75px;
  border: 3px solid black;
  padding: 5px;
}






body {
  
  background-size: cover;
  

}


.element {
	text-shadow:
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
}


.spanA {
  color: white;
   
}

.span0 {
 font-weight: bold;
}

.span1 {
  color: #c94c4c;
}

.span2 {
  color: #eea29a;
}

.span3 {
  color: #b1cbbb;
}

.span4 {
  color: #feb236;
}

.span5 {
  color: #405d27;
}

.span6 {
  color: #eca1a6;
}


.main-content {
  
  text-align: center;
  border-top: 5px solid black;
  overflow-x: hidden;
}

header {
  font-size: 1.5em;
  font-weight: bold;
}

li {
  margin-right: 40px;
}

.spanLink {
  color: white;
  font-family: Lobster;
  
}


@media (min-width: 992px) {
    .About {
        margin-left: 100%;
        
    }
}

@media (max-width: 991px) {
  .About {
    margin-bottom: -4%;
  }
}



#home {
  font-size: 30px;
  font-family: Raleway;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;;
  grid-template-rows: 1fr 1fr;
  grid-gap: 10px;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  padding-right: auto;
  padding-left: auto;
  overflow-x: hidden;
  
}



p {
  font-family: Raleway;
  font-weight: bold;
  border-left: 3px solid black;
  border-right: 3px solid black;
  padding-left: 10px;
  padding-right: 10px;
}

header {
  font-family: Lobster;
}

footer {
  background-color: grey;
  height: 100px;
  border-top: 5px solid black;
  text-align: center;
  font-family: Raleway;
  width: 100%;
  padding-top: 3%;
  font-weight: bold;
  margin-top: 10px;
}

h4 {
  font-family: "Raleway";
  padding-top: 10px;
}
 


#myContainer {
  display: grid;
  grid-template-columns: 1fr 4fr 1fr;
}

@media only screen and (max-width: 768px) {
  #myContainer {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1em;
    grid-row-gap: 100px;
  }
}


#Portfolio {
  text-align: center;
}

.contactCenter{
  text-align: center;
  
}

.left-image {
  width: 100px;
  height: 100px;
  margin-top: 75px;
  overflow-x: hidden;
}

.left1 {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.right-image {
  width: 100px;
  height: 100px;
  margin-top: 75px;
  overflow-x: hidden;
}

.right1 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
}

.right2 {
  width: 175px;
  overflow-x: hidden;
}




#portImage {
  width: 90%;
  height: 200px;
  border: 5px solid black;
  overflow-x: hidden;
}

.portSpan {
  color: black;
  font-weight: bold;
}

.spanLink:hover {
  color: #c94c4c;
}

              
            
!

JS

              
                
              
            
!
999px

Console