Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <div class="container">
  <section id="Profile">
    <div id="user" class="text-center">
      <div id="img"></div>
      <div id="name">
        <h1>Maggie Wilson</h1>
        <h4>Pattern Designer</h4>
      </div>
      <div id="social"><a href="#"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-twitter fa-stack-1x"></i></span></a><a href="#"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-facebook-f fa-stack-1x"></i></span></a><a href="#"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-dribbble fa-stack-1x"></i></span></a><a href="#"><span class="fa-stack fa-lg"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-behance fa-stack-1x"></i></span></a></div>
    </div>
    <div id="content">
      <div id="navigation">
        <ul role="tablist" class="nav nav-tabs nav-justified">
          <li role="presentation"><a href="#about" role="tab" data-toggle="tab"><i class="fa fa-user fa-3x"></i></a></li>
          <li role="presentation"><a href="#skills" role="tab" data-toggle="tab"><i class="fa fa-trophy fa-3x"></i></a></li>
          <li role="presentation"><a href="#contact" role="tab" data-toggle="tab"><i class="fa fa-envelope-o fa-3x"></i></a></li>
        </ul>
        <div class="tab-content">
          <div id="about" role="tabpanel" class="tab-pane fade">
            <h3>About Me</h3>
            <p>Whimsical, original surface and textile patterns designed to make you happy! Garden whimsy, friendly sea creatures and animals, yummy food, dazzling holiday, and loose florals is my specialty. </p>
            <p>I am a freelance surface pattern designer creating hand-drawn designs with a fresh, modern vibe and sophisticated color palette for use in home decor, stationery, apparel, and a variety of other markets.</p>
          </div>
          <div id="skills" role="tabpanel" class="tab-pane fade">
            <h3>Skills</h3>
            <h4>Adobe Illustrator</h4>
            <div class="progress">
              <div role="progressbar" style="width: 90%;" class="progress-bar">90%</div>
            </div>
            <h4>Adobe Photoshop</h4>
            <div class="progress">
              <div role="progressbar" style="width: 70%;" class="progress-bar">70%</div>
            </div>
            <h4>Sketch by Bohemian Coding</h4>
            <div class="progress">
              <div role="progressbar" style="width: 40%;" class="progress-bar">40%</div>
            </div>
          </div>
          <div id="contact" role="tabpanel" class="tab-pane fade">
            <h3>Contact Me</h3>
            <form>
              <div class="form-group">
                <label for="nameMessage">Name <small>Required</small></label>
                <input id="nameMessage" required="required" type="text" placeholder="Your Name" class="form-control input-lg"/>
                <label for="email">Email <small>Required</small></label>
                <input id="email" required="required" type="email" placeholder="Email Address" class="form-control input-lg"/>
                <label for="text">Message <small>Required | 280 Character Limit</small></label>
                <textarea id="text" required="required" placeholder="Type Your Message Here" rows="3" maxlength="280" class="form-control input-lg"></textarea>
                <button type="submit" class="btn btn-default btn-lg">Send a Message</button>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
  </section>
</div>
              
            
!

CSS

              
                $off-black: #404041
$cream: #F1E0CD
$base-pink: #DA609B
$light-pink: #D88BAC
@mixin transition
  transition: color 0.5s ease
html
  height: 100%
body
  height: 100%
  background: $cream url('https://farm4.staticflickr.com/3895/14744582186_8d5b05578c_k.jpg') no-repeat
  color: $off-black
  background-size: cover
  font-family: 'Source Sans Pro', sans-serif
h1, h2, h3, h4, h5, h6
  font-family: 'Josefin Sans', sans-serif
p
  font-size: 1.75rem
#Profile
  margin: 6rem auto 0
  background: white
  max-width: 80%
#user
  padding: 2.5rem
#img
  width: 120px
  height: 120px
  background: $base-pink url('https://s3.amazonaws.com/uifaces/faces/twitter/pixeliris/128.jpg') top center no-repeat
  display: block
  margin: 4rem auto 0
  border-radius: 50%
#social a
  margin: 0 .5rem
i[class*="2x"]
  color: $base-pink
i[class*="1x"]
  @include transition
  color: white
  &:hover
    color: $cream
#navigation ul
  background: $base-pink
  i
    color: $cream
  li.active
    i
      color: $base-pink
    &:hover
      i
        color: white
.nav-tabs
  border: none
.tab-pane
  padding: 10% 10% 2%
.nav-tabs.nav-justified>li>a
  margin: 0
  border: none
  border-radius: 0
  &:hover
    background: $light-pink
.progress-bar
  background-color: $base-pink
label, input
  margin-bottom: 1.25rem
label
  font-size: 1.75rem
  color: $base-pink
  small
    color: $light-pink
    font-size: 1.25rem
    margin-left: .25rem
.form-control:focus
  border-color: $light-pink
  box-shadow: 0 0 .5rem $light-pink
button[type="submit"]
  margin-top: 2rem
  background: $base-pink
  border-color: $base-pink
  color: white
  transition: color 0.5s ease
  &:hover
    background: $base-pink
    border-color: $base-pink
    color: $cream
              
            
!

JS

              
                
              
            
!
999px

Console