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

              
                <html>
  <head>
  <title>Creative Website Design</title>
</head>
<body>
  <div class="container">
    <div class="jumbotron">
      <div class="row">
        <div class="header">
          <div class="purple-text">
          <h1>Creative Website Design</h1>
          </div>
          <div class="col-sm-3">
            <a href="#h101"> <button class="btn btn-block btn-primary">About</button> </a>
          </div>
          <div class="col-sm-3">
            <button class="btn btn-block btn-primary">Portfolio</button>
          </div>
          <div class="col-sm-3">
            <button class="btn btn-block btn-primary">Contact</button>
          </div>
          <div class="col-sm-3">
            <img src="https://media.licdn.com/mpr/mpr/shrinknp_400_400/AAEAAQAAAAAAAAi-AAAAJGI5NzcyMTU5LTJjMjktNGRmOS1iNzFhLWY3ZTc0OTQxZWMwOA.jpg" class="img-circle">
          </div>
        </div>
      </div>
      <div class="row">
        <div>
          <h1 id="h101">Andrew Horvath, Developer, Teacher, Learner</h1>
          <p>Public school teacher turned techy, with years of experience writing curriculum, and designing education based, digital resources. Professional artist from pencil drawings to oil paintings, experienced with front-end developer with practical experience in project management and creative direction. Along with my diverse art background, I am devoted to creativity.

        </div>
      </div>
      <div class="row">
        <div class="col-sm-6 col-md-4 col-lg-3">
          <img src="https://andrewspencil.files.wordpress.com/2013/09/wedding-couple-portrait-drawing.jpg?w=700&h="/>
        </div>
        <div class="col-sm-6 col-md-4 col-lg-3">
          <img src="https://andrewspencil.files.wordpress.com/2013/01/reshma-son-scaled.jpg?w=700&h="/>
        </div>
        <div class="col-sm-6 col-md-4 col-lg-3">
          <img src="https://andrewspencil.files.wordpress.com/2014/11/cat-drawing.jpg?w=700&h="/>
        </div>
        <div class="col-sm-6 col-md-4 col-lg-3">
          <img src="https://andrewspencil.files.wordpress.com/2013/10/ornament.jpg?w=1000&h="/>
        </div>
      </div>
    </div>
   </div>
</body>
</html>
              
            
!

CSS

              
                html {
  margin: 0;
  padding: 0;
  display: block;
}
body {
  background-image: url("https://i2.wp.com/andrewspencil.files.wordpress.com/2014/11/dark_wood.png?ssl=1&w=450");
}
.header {
  min-height:250px; 
  background-color: powderblue;
  border: 2px solid black;
  border-radius: 15px 50px;
  padding: 15px;
}
.jumbotron{
  min-height: 800px;
  background-color: rgba(255, 209, 24,.5)
}
img {
  border:10px solid rgb(80, 80, 80);
  height: 250px;
}
.btn{
  color: rgb(900, 900, 900);
  font-weight: bold;
}
h1 {
  font-family: Lobster; font-weight: bold; text-align:center;
}

              
            
!

JS

              
                
              
            
!
999px

Console