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

              
                <html>
<!--running css normalize preprocessor, jQuery and Bootstrap +font awesome -->

<head>
  <meta charset="UTF-8" />
  <title>AE LeBlanc Portfolio</title>
</head>
<link href="css/bootstrap.min.css" rel="stylesheet" />
<script src="https://use.fontawesome.com/05eb497be0.js"></script>
<link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">

<body>
  <h1> 
   <div class="container">
     <div class="row">
       <div class="col-xs-4">
         <img class="mypic img-responsive"src="https://res.cloudinary.com/aeleblanc/image/upload/c_scale,e_auto_contrast,w_250/v1484188345/portfolio-image.jpg" alt="aeleblanc"</img>
       </div><!--col-->
   <div class="col-xs-8 header-text">
   Ashley LeBlanc 
   <br /> Front End Developer
     <br /><p class="skills"> -HTML5-CSS3-JavaScript-Bootstrap-
     <br />-jQuery-AngularJS-</p>
     </div><!--col-->
     </div><!--row-->
   </div><!--container-->
  </h1>
  <hr width="75%" />
  <div class="container accordion-block">
    <button class="accordion">About Ashley</button>
    <div class="panel">
      <p class="about-me">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus et magna vulputate, vestibulum nibh sit amet, finibus velit. Nullam vestibulum orci velit. Morbi vel finibus tortor. Sed ac sem nisi. Morbi tristique purus sit amet sagittis pharetra.</p>
    </div>
    <button class="accordion">Portfolio</button>
    <div class="panel">
      <p>
        <div class="container" align="center">
          <div class="row">
            <div class="col-xs-6">
              <figure>
                <img class="img-responsive port-pic" src="http://www.pacinno.eu/wp-content/uploads/2014/05/placeholder-Copy-3.png" alt="Placeholder">
              </figure>
            </div>
            <!--col-->
            <div class="col-xs-6">
              <figure>
                <img class="img-responsive port-pic" src="http://www.pacinno.eu/wp-content/uploads/2014/05/placeholder-Copy-3.png" alt="Placeholder">
              </figure>
            </div>
            <!--col-->
          </div>
          <!--row-->
          <div class="row">
            <div class="col-xs-6">
              <figure>
                <img class="img-responsive port-pic" src="http://www.pacinno.eu/wp-content/uploads/2014/05/placeholder-Copy-3.png" alt="Placeholder">
              </figure>
              <br />
            </div>
            <!--col-->
            <div class="col-xs-6">
              <figure>
                <img class="img-responsive port-pic" src="http://www.pacinno.eu/wp-content/uploads/2014/05/placeholder-Copy-3.png" alt="Placeholder">
              </figure>
            </div>
            <!--col-->
          </div>
          <!--row-->
        </div>
        <!--container-->
        <p class="port-direction">Click Image for Link</p>
      </p>
    </div>
    <button class="accordion">Contact Ashley</button>
    <div class="panel">
      <p class="contact-panel">
        <div class="container">
          <div class="row">
            <div class="col-sm-6">
              <form id="contact_form" action="action=" mailto: "ae.leblanc208@gmail.com" method="POST" enctype="multipart/form-data">
                <div class="row">
                  <label for="name">Your Name:</label><br />
                  <input id="name" placeholder="ex: Ashley LeBlanc" class="input" name="name" type="text" value="" size="30" />
                  <br />
                </div>
                <div class="row">
                  <label for="email">Your Email: <br />
        <input id="email" class="input" name="email" placeholder="ex: ae.leblanc208@gmail.com" type="text" value="" size="30" />
        <br />
      </div>
      <div class="row">
        <label for="message">Message:</label>
                  <br />
                  <textarea id="message" class="input" name="message" placeholder="ex: Hi there Ashley!" rows="7" cols="30"></textarea>
                  <br />
                </div>
                <input class="submit-button" id="submit_button" type="submit" value="Send Message" />
              </form>
              <br /><br /><br />
            </div>
            <!--col/sm/6-->
            <div class="col-sm-4">
              <p class="contact-spiel"> Want to get in touch with me? If you would like more info about myself or my experience, to ask for my resume, or if you are needing a project quote - just fill out the contact form here! I promise a timely reply. Thank you for your interest!<br/>
                <p class="sign-off">--Ashley<i class="fa fa-hand-peace-o"></i></p>
            </div>
            <!--col-->
          </div>
          <!--row-->
        </div>
        <!--class=panel-->
    </div>
    <!--accordion container-->
    <hr width="75%" />
    <h2 class="social-media-bar"> 
    <div class="container icon-align">
      <div class="row">
           <a class="social-media" href="https://www.linkedin.com/in/ashleykostawhite"> <i class="fa fa-linkedin fa-2x" aria-hidden="true"></i>
    </a>
    <a class="social-media"  href="https://www.freecodecamp.com/aeleblanc"> <i class="fa fa-free-code-camp fa-2x" aria-hidden="true"></i>
          </a>
    <a class="social-media" href="https://github.com/AeLeblanc"> <i class="fa fa-github fa-2x" aria-hidden="true"></i>
    </a>
    <a class="social-media" href="https://codepen.io/aeleblanc/"> <i class="fa fa-codepen fa-2x" aria-hidden="true"></i>
    </a>  
      </div> <!--row-->
    </div><!--container icon-align-->
  </h2>
    <hr />
    <h3 class="copyright-line">
    <i class="fa fa-code" aria-hidden="true"> Created & Coded by Ashley Leblanc <i class="fa fa-copyright" aria-hidden="true"></i></i>
    <script language="javascript" type="text/javascript">
var today = new Date()
var year = today.getFullYear()
document.write(year)
</script>
  </h3>


</body>

</html>
              
            
!

CSS

              
                h1 {
  margin: auto;
  background-color: #850000;
  color: #fff;
  text-align: center;
  text-shadow: 5px 3px 5px #000;
  font-family: 'Share Tech Mono', monospace;
  font-size: 5vw;
}
.header-text {
  margin-top: 20px;
}
.mypic {
  margin-top: 10px;
  margin-bottom: 10px;
  border-color: #b2b2b2;
  border-width: 5px;
  border-style: solid;
  border-radius: 10%;
  box-shadow: 3px 3px 1px #000;
  min-height: 100px;
  min-width: 100px;
  max-height: 150px;
}
.skills {
  text-align: center;
  margin-top: 10px;
  font-family: monospace;
  font-size: 2.5vw;
  color: #b2b2b2;
}
/** accordion style**/
button.accordion {
  background-color: #850000;
  color: #fff;
  cursor: pointer;
  padding: 18px;
  margin-bottom: 10px;
  width: 100%;
  text-align: center;
  text-shadow: 2px 1px 2px #000;
  font-family: 'Share Tech Mono', monospace;
  font-size: 20px;
  border: none;
  outline: none;
  transition: 0.4s;
}

button.accordion.active,
button.accordion:hover {
  background-color: #fff;
  color: #850000;
  font-family: 'Share Tech Mono', monospace;
  font-size: 24px;
}

div.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
}

div.panel.show {
  display: block;
}
/**end accordion styling**/

.about-me {
  color: #850000;
  margin: auto;
  font-family: monospace;
  font-size: 3vw;
}

.port-pic {
  display: block;
  position: relative;
  vertical-align: middle;
  margin: auto;
  margin-bottom:10px;
  min-height: 100px;
  min-width: 100px;
}
.port-pic:hover {
  opacity: 0.5;
  filter: alpha(opacity=50);
  /* For IE8 and earlier */
}
.port-direction {
  color: #850000;
  text-align: center;
  font-family: monospace;
  font-size: 3vw;
}

.contact-spiel {
  color: #850000;
  margin:auto;
  margin-right:10px;
  font-family: monospace;
  font-size: 2.5vw;
}
.sign-off {
  text-align: right;
  margin-right:15px;
  color: #850000;
  font-family: monospace;
  font-size: 3vw;
}

form {
  margin-left: 30px;
  width: 25%;
  padding: 0;
  font-family: monospace;
  font-size: 2vw;
  color: #0000;
}
.input {
  font-family: monospace;
  background-color: #ffff;
  border-color: #850000;
  border-width: 2px;
}
.submit-button {
  float: left;
  padding: 3px;
  font-family: monospace;
  color: #fff;
  background-color: #850000;
  width: 30vw;
}
.submit-button:hover {
  color: #850000;
  text-shadow: 1px 1px 1px #000;
  font-weight: bold;
  background-color: #FFF;
  border-color: #850000;
}

.social-media-bar{
  margin: auto;
  color: #fff;
  background-color: #850000;
}
.social-media {
  font-size: 4vw;
  color: #fff;
  padding: 10px;
}
.social-media:hover {
  color: gray;
}
.icon-align {
  text-align: center;
}

.copyright-line {
  text-align: center;
  color: #850000;
  font-family: monospace;
  font-size: 3vw;
}
              
            
!

JS

              
                var acc = document.getElementsByClassName("accordion");
var i;

for (i = 0; i < acc.length; i++) {
  acc[i].onclick = function() {
    this.classList.toggle("active");
    this.nextElementSibling.classList.toggle("show");
  }
}
              
            
!
999px

Console