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 charset="utf-8">
  <title>Framework Test Page</title>
  <!--Google Font Lato -->
  <link href="https://fonts.googleapis.com/css?family=Lato:100,300" rel="stylesheet">
  <!--Bringing in BootStrap-->
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
  <!--Bringing in my CSS spreadsheet -->
  <link rel="stylesheet" href="main.css" rel="stylesheet">
  <!--Font Awesome-->
  <script src="https://use.fontawesome.com/7cb03b47d1.js"></script>
</head>
<body>
  <!--Making the whole page a container, to use Bootstrap-->
  <div class="container">
    <!--Top row w/name and logo -->
    <div class="row">
      <div class="col-md-6">
        <i class="fa fa-code fa-5x" aria-hidden="true" alt "code logo"></i>
      </div>
      <div class="col-md-6 text-right text-uppercase">
        <h1 class="text-lighter title">Seth Ayers</h1>
        <h4>Eventually I'll brag here</h4>
      </div>
      <div class="social">
      <i class="fa fa-linkedin fa-2x" id="social" alt "linkedin logo"></i>
      <i class="fa fa-github-alt fa-2x"  alt "github logo"></i>
    </div>
    </div>
    <div class="row">
      <div class="col-md-12">
        <hr>
      </div>
    </div>
    <!--Middle row with main image -->
    <div class="row">
      <div class="col-md-12">
        <img class="main image img-responsive" alt="placeholder pic"src="http://placehold.it/1000x350">
      </div>
    </div>
    <div>
      <!--Row only has words featured work in it-->
      <div class="row">
        <div class = "col-md-12 text-muted">
          <h2>Featured Work</h2>
        </div>
      </div>
    </div>
    <!-- Row for the projects-->
    <div class="row project">
      <div class="col-md-4">
        <img class="img-responsive" alt="placeholder pic" src="http://placehold.it/350x150" data-toggle="modal" data-target="#project1">
          <h4>Appify</h4>
      </div>
      <div class="col-md-4">
        <img class="img-responsive" alt="placeholder pic"src="http://placehold.it/350x150" data-toggle="modal" data-target="#project2">
        <h4>Random word</h4>
      </div>
      <div class="col-md-4">
        <img class="img-responsive" alt="placeholder pic" src="http://placehold.it/350x150" data-toggle="modal" data-target="#project3">
        <h4>Random Word</h4>
      </div>
    </div>
  </div>
  <!-- Modal -->
    <div class="modal fade" id="project1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h4 class="modal-title" id="project1">Favorite App Page</h4>
                </div>
                <div class="modal-body">
                    <img class="img-responsive" src="http://placehold.it/350x150">
                    This was my first project in this class. I learned a lot about HTML and CSS.
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                </div>
            </div>
        </div>
        <!-- Making the jquery work for the modal-->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
</body>
</html>

              
            
!

CSS

              
                /** {
    border: 1px solid red !important;
}*/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.grid {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}
.row {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
}
body {
  font-family: 'Lato', sans-serif;
  color:#2d3c49;
  font-weight:300;
}
.text-lighter{
  font-weight:100;
}
.text-muted{
  color:#BCBBBB;
}
.title{
  font-size: 60px;
}
.fa{
  color: #02b3e4;
  margin-top: 10%;
}
.project{
  text-align: center;
}
#social{
  padding-top: 20px;
}

              
            
!

JS

              
                
              
            
!
999px

Console