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

              
                  <header class="masthead">
  <p class="masthead-intro">HI, I'm</p>
    <h1 class="masthead-heading">Carlton!</h1>
</header>
<section class='introduction'>
  <h1>Introduction</h1>
   <p>I studied to become a<a href='http://www.silversmith.com'> <span class='silver'>silversmith</a></span> at <span class='uni'>university</span> for many years but half way through switched to jewellery as I found it to be more <span class='link'>interesting</span>.</p> <p>I've worked independently since 2007 in a <span>cooperative</span> studio which meant doing nearly everything related to the business by myself.</p>
   </section>

<section class='where'>
  <h1>Where I'm From</h1>
  <p>I'm was born and raised in the UK, London to be more precise.
</p>
</section>

<section class='more'>
  <h1> More About ME.</h1>
  <h2>My hobbies</h2><p>I do like to induldge in the odd <span class='real'>rts</span> game whenever I have the spare time, but I've always found chess more enjoyable (there's nothing more satisfying then out thinking & crushing your opponent) so I've recently joined a chess club to horne my spartial intelligence and inprove my strategical thinking to better plan ahead</p>
  <h2>Career aspriations</h2> <p>I'm hoping to obtain a place on a <a href='http://www.foundersandcoders.org'><span class='code'>Javascript course</span></a> in September to furhter my knowledge.</p>
   <h2>My background.</h2><p> I've dabbled with computers over the years but nothing to specific, but I feel I've hit the ground running learning Html, Css and then on to Javascript! </p>
  <h2>My taste in music</h2><p>My tatse in <span class='mus'> music</span> is quite varied, from jazz to reggae and most recently I've taken a liking to modern classical music from movies when coding, I found the music claims my mood, espicially during frustrating moments when I become stuck.</p>
  </section>

<footer class='content'>
  <p>Say hello to me on these social networks:</p>
   <ul>
    <a href='http://www.Github.com'><li>Github</a></li>
    <a href='http://www.Twitter.com'><li>Twitter</a></li>
    <a href='http://www.plus.Google.com'><li>Google+</a></li>
  </ul>
 
    <p> cover image via <span class='splash'><a href='http://www.unsplas.com'>Unsplash</a></span></p>
  
</footer>
  
              
            
!

CSS

              
                body {
  color:#dd33ff ;
  border-top-color: #cceeff;
  border-top-style: solid;
  border-top-width: .8em; 
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-weight: 600;
  margin: -1em;
}

.masthead-intro,
.masthead-heading{
  text-align: center;
}

.masthead-heading{
  text-align: center;
} 

.masthead{
  padding: 4em 10em ;
  background-image: url('http://i1382.photobucket.com/albums/ah268/Takeaim/45FrPhQaQL26yBeYQvR2_telesiegeice_zpsx3p7yhfy.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  border-style: solid;
  border-top-width: 15px;
  border-top-color: #398892;
  border-bottom-style: none;
  }

.masthead-intro{
  margin-bottom: 0.1em;
  font-size: 1.5em;
  color: white;
  
}
 
 .masthead-heading{
   margin-top: .1em;
   font-size: 4em;text-shadow: 0.07em 0.03em .09em
  #398892;
     color: white;
 }


h1{
  text-align: justify; 
  font-size: 2.1875em;
  margin-:.1em;
  font-weight: 600;
  border-bottom-width: 60px;
  color: 925139;;
  }

.introduction,
.where,
.more{
  text-align: justify;
  font-size: 1em;
  width: 30%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
  margin-top: 3em;
  font-weight: 500;
  padding: 2em;
  color: #398892;
 }

 p {
  font-weight: 400 ;
  font-size: 1em;
  margin-bottom: 20px;
}
 
.silver{
  color: #8266aa;
  font-weight: 900;
 }

span, uni,link{
  color: ##398892;
  font-weight: 900;
}

a{
 text-decoration: none;
}

 h2{
  font-weight: 200;
  color: #395f92;
  font-size: 1.3em;
  padding: 1.5em;
  text-align: justify; 
  margin-left:-1.5em;
  margin-right: auto;
   }

 section{
  background-color: ;
  padding: 1em;
}

  .real{
  font-weight: 900;
  text-transform: uppercase;
  color: #533992;
 }

.code{
  font-weight: 900;
  color: #533992;
}

.content{
  background-color: #078c9a;
  padding: 3em;
  margin: auto auto;
  border-style: none;
  border-top-width: none;
}

li{
  display: inline-block;
  color: white;
  margin-top: 1em;
  text-align: center;
  }

ul{ 
  text-align: center;
  word-spacing:4em;
  color: orange;
  font-weight: 900
  padding-left: 40px padding-right:40px;
}
.splash{
  color: red;
  text-align: center;
  font-size: 1.2em;
  font-weight: 600;
}

.content p{
  text-align: center;
  padding: 1em;
  margin: .5em .5em .5em .5em; 
  color: white;
  font-size: 1.1em;
  font-weight: 500;
}

.content li{
  display: inline;
  color: white;
  margin-top: 1em;
  text-align: center;
  }

body {
    /* Typography Declarations */
    color: #222222;
    font-size: 1em;
    font-family: "Open Sans", "Helvetica Neue", sans-serif;
}

.masthead-intro {
    margin-bottom: 0.1em;
    font-family: "Gentium Book Basic", Georgia, serif;
    font-size: 2em;
}
  .masthead-heading {
    margin-top: -0.2em;
    font-family: "Open Sans", "Helvetica Neue", sans-serif;
    font-weight: bold;
    font-size: 6em;
    letter-spacing: -0.02em;
    text-transform: uppercase;
  }
   }
    
    introduction p, where p, more p{
      font-weight: 500;
      letter-spacing: 0.05em;
    }
    
   .section h2{
  font-family: 'Gentium book basic' Georgia serif;
  font-size: 1.2em;
  font-wight: bold;
    }
 .mus{
  font-weight: 700;
  color: #318AB0;
}

@media only screen (max-width: 500px){
  .masthead-heading {
    font-size: 3em;
  }
.masthead{
    padding: 3em 0;
}
.content{
  font-size: 1em;
  }
.content li{
  padding: padding-left 40px padding-right 40px;
}
 .introduction,
.where,
.more{
  text-align: justify;
  font-size: 1em;
  width: 30%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
  margin-top: 3em;
  font-weight: 500;
  padding: 2em;
  color: #398892;
 } 
}
              
            
!

JS

              
                
              
            
!
999px

Console