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

              
                <head> 
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<!-- Navigation -->
<nav class="navbar navbar-default">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="#">Brad Anderson</a>
    </div>
    <ul class="nav navbar-nav">
      <li class="active"><a href="#">Home</a></li>
      <li><a href="#p2">About me</a></li>
      <li><a href="#p3">Portfolio</a></li>
      <li><a href="#p4">Contact me</a></li>
    </ul>
  </div>
</nav>
<!-- pageOne -->
<div class="container-fluid">
  <div class="pageOne text-center">
    <div class="block text-center">
  <h1 class="#opentext">Brad Anderson</h1>
  <h3>Personal Portfolio</h3>
    </div>
  <div class="btnList">
    <a class="btn btn-default" href="#"><i class="fa fa-facebook" aria-hidden="true"></i>
Facebook</a>
    <a class="btn btn-default" href="#"><i class="fa fa-instagram" aria-hidden="true"></i>
Instagram</a>
    <a class="btn btn-default" href="#"><i class="fa fa-codepen" aria-hidden="true"></i>
CodePen</a>
</div>
</div>
  
  <!-- PageTwo -->
  <div class="pageTwo" id="p2">
    <div class="row">
      <div class="col-md-6 text-center">
        <h2 class="aboutme">About Me</h2>
        <p>whats up dgkdjgbk k negn jvn nnevoaenkj n g ekg nevn d,dnl naeo ihgoiaw  fanjg eg heognejv egnn,se ngiseo hgefnnfiaape gae  e lejglkeangekn geilg ea eg eleaglelkeng  ge elg nseglkesn glseg jsel selg sel gseig les lgae'gae'g eg; sgi;sg gg rsig lr grrg</p>
      </div>
      <div class="col-md-6">
        <img src="https://www.videvo.net/videvo_files/images/Hacker_code_whiteblack_07_Videvo.jpg" class="Aboutpic"/>
      </div>
  </div>
  </div>
  
  <!-- PageThree --> 
  <div class="pageThree text-center" id="#p3">
    <h1 class="white-text">Portfolio</h1>
    <h2>my stuff</h2>
    <div class="row"></div>
    <div class="col-md-6">
      <a href="https://codepen.io/bradanderson27/full/XaYqgx/" target="blank"><h2>Personal Portfolio</h1></a>
      <p data-height="265" data-theme-id="0" data-slug-hash="XaYqgx" data-default-tab="html,result" data-user="bradanderson27" data-embed-version="2" data-pen-title="Portfolio" class="codepen">See the Pen <a href="https://codepen.io/bradanderson27/pen/XaYqgx/">Portfolio</a> by Brad Anderson (<a href="https://codepen.io/bradanderson27">@bradanderson27</a>) on <a href="https://codepen.io">CodePen</a>.</p>
    </div>
    <div class="col-md-6">
      <a href="https://codepen.io/bradanderson27/pen/PKeVbe" target="blank"><h2>Tribute Page</h1></a>
<script async src="https://production-assets.codepen.io/assets/embed/ei.js"></script>
      <p data-height="265" data-theme-id="0" data-slug-hash="PKeVbe" data-default-tab="html,result" data-user="bradanderson27" data-embed-version="2" data-pen-title="Tribute" class="codepen">See the Pen <a href="https://codepen.io/bradanderson27/pen/PKeVbe/">Tribute</a> by Brad Anderson (<a href="https://codepen.io/bradanderson27">@bradanderson27</a>) on <a href="https://codepen.io">CodePen</a>.</p>
<script async src="https://production-assets.codepen.io/assets/embed/ei.js"></script>
    </div>
  </div>
  
  <!-- PageFour --> 
  <div class="pageFour text-center" id="#p4">
    <h1>Contact Me</h1>
  <div class="container">
  <form action="/action_page.php">

    <label for="fname">First Name</label>
    <input type="text" id="fname" name="firstname" placeholder="Your name..">

    <label for="lname">Email</label>
    <input type="text" id="email" name="email" placeholder="Your email..">

    <label for="subject">Subject</label>
    <textarea id="subject" name="subject" placeholder="Write something.." style="height:200px"></textarea>

    <input type="submit" value="Submit">

  </form>
</div>  
  </div>
  
  <div class="footer text-center">
    <p>
      <a href="#" target="blank">Site Design by Brad Anderson</a>
    </p>
  </footer>
              
            
!

CSS

              
                
.white-text {
  color: white;
}
</>

/*--- NAV ---*/
.navbar-default {
  color: black;
  
}


/*--- HOME ---*/
body {
  background-color: black;
}
.block {
  background-color: black;
  opacity: 0.5;
  padding: 10px;
  display: inline-block;
  border-radius: 20px;
  margin-top: 250px;
}
h1 { 
font-size: 90px;
color: white;
}
h3 { 
font-size: 50px;
color: white;}
.btn-default {
  background-color: black;
  border-color: black;
  color: white;
  font-size: 20px;
}
.pageOne {
  background:url("https://images2.alphacoders.com/117/117712.jpg");
  background-size: cover;
  background-attachment: fixed;
  height: 800px;
}

/*-- PageTwo --*/
.pageTwo {
  background:url("https://i.pinimg.com/736x/17/90/7a/17907a32d4238bc6fb4fc85b75e050d7--friends-wallpaper-iphone-.jpg");
  background-attachment: fixed;
  height: 600px;
  background-size: cover;
  padding-top: 5%;
}
.Aboutpic {
  opacity: .4;
  border-radius: 20px;
}
 .aboutme {
  font-size: 60px;
   color: white;
}
p {
  font-size: 30px;
}
.Aboutpic {
  height: 400px;
}

.pageThree {
  background:url("https://i.pinimg.com/236x/30/e1/4d/30e14d0509532823b8fa86d7d0c27e64--light-pollution-sky-full.jpg");
  background-attachment: fixed;
  height: 700px;
  color: white;
  padding-top: 5%;
}

.pageFour {
  background:url("https://s-media-cache-ak0.pinimg.com/originals/3b/73/40/3b734069b18c281aa1328587b55cde55.jpg");
  background-size: cover;
  background-attachment: fixed;
  height: 800px;
  padding-top: 5%;
}
/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */  
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

input[type=submit] {
    background-color: white;
    color: black;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.container {
    border-radius: 5px;
    background-color: black;
    opacity: 0.9;
    padding: 20px;
}
              
            
!

JS

              
                
              
            
!
999px

Console