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 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

              
                <link href="https://fonts.googleapis.com/css?family=Averia+Serif+Libre|Cabin+Sketch|Cinzel+Decorative|Inknut+Antiqua|Numans|Port+Lligat+Slab" rel="stylesheet">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

<!--
google fonts
font-family: 'Cabin Sketch', cursive;
font-family: 'Port Lligat Slab', serif;
font-family: 'Averia Serif Libre', cursive;
font-family: 'Cinzel Decorative', cursive;
font-family: 'Inknut Antiqua', serif;
font-family: 'Numans', sans-serif;
-->

<!--scrollable area-->
<body data-spy="scroll" data-target=".navbar" data-offset="150">
  
  <!--navbar-->
  <nav class="navbar navbar-inverse navbar-fixed-top">
    
    <div class="container-fluid navfont">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavBar">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="#">Unicorn Digital Media</a>
      </div>
      
      <div>
        <div class="collapse navbar-collapse" id="myNavBar">
    <ul class="nav navbar-nav">
      <li style='min-width:50px;'>&nbsp;</li>
      <li><a href="#Portfolio">Portfolio</a></li>
      <li><a href="#Contact">Contact</a></li>
      <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">More Examples <span class="caret"></span></a>
        <ul class="dropdown-menu">
          <li><a href="#Examples1">Examples 1</a></li>
          <li><a href="#Examples2">Examples 2</a></li>
        </ul>
      </li>
    </ul>
        </div>
      </div>
    </div>
  </nav>
  
  <div class="container-fluid content">
  <!--welcome-->
    <div id="Welcome" class="tagline col-xs-12"><h1 class="splash">Design that's <span style="letter-spacing: 2px;">authentically</span> <span style="color: orange;">you</span>.</h1> 
      <p class="tagquote">One-of-a-kind solutions for your brand and business.</p>
      <p></p>
      <p></p>
  </div>
    <div class="spacer"> </div>
    <div class="spacer"> &nbsp;</div>
    
    
  <!--portfolio-->
  <div id="Portfolio">
    <h2>Portfolio</h2>
    <p></p>
    <div class="row col-xs-12">
      <!--thumbnail 1-->
      <div class="col-xs-2">
        <div class="thumbnail">
          <img src="http://sperrye.000webhostapp.com/authyou.jpg" alt="" class="thumbimg">
          <div class="caption">
            <h3>This is an example</h3>
            <p>Description of image</p>
            <p><a href="#"><button type="button" class="btn btn-primary">Expand</button></a></p>
          </div>
        </div>
      </div>
      <!--thumbnail 2-->
      <div class="col-xs-2">
        <div class="thumbnail">
          <img src="http://sperrye.000webhostapp.com/phone2.jpg" alt="" class="thumbimg">
          <div class="caption">
             <h3>Another example with more captions</h3>
             <p>Description of Image</p>
            <p><a href="#"><button type="button" class="btn btn-primary">Expand</button></a></p>
         </div>
        </div>
      </div>
        <!--thumbnail 3-->
        <div class="col-xs-2">
          <div class="thumbnail">
            <img src="#" alt="">
               <div class="caption">
                  <h3>Websites</h3>
                  <p>Description of image</p>
                  <p><a href="#"><button type="button" class="btn btn-primary">Expand</button></a></p>
           </div>
        </div>
      </div>
      <!--thumbnail 4-->
      <div class="col-xs-2">
        <div class="thumbnail">
          <img src="#" alt="#">
          <div class="caption">
            <h3>There are six</h3>
            <p>Description of image</p>
            <p><a href="#"><button type="button" class="btn btn-primary">Expand</button></a></p>
          </div>
        </div>
      </div>
      <!--thumbnail 5-->
      <div class="col-xs-2">
        <div class="thumbnail">
          <img src="#" alt="#">
          <div class="caption">
            <h3>Six examples here</h3>
            <p>Description of image</p>
            <p><a href="#"><button type="button" class="btn btn-primary">Expand</button></a></p>
          </div>
        </div>
      </div>
      <!--thumbnail 6-->
      <div class="col-xs-2">
        <div class="thumbnail">
          <img src="#" alt="#">
          <div class="caption">
            <h3>Caption six</h3>
            <p>Description of image</p>
            <p><a href="#"><button type="button" class="btn btn-primary">Expand</button></a></p>
          </div>
        </div>
      </div>
      
    </div>
    <!--make all the thumbnails the same height-->
  <script>function equalHeight(group) {    
    var tallest = 0;    
    group.each(function() {       
        var thisHeight = $(this).height();       
        if(thisHeight > tallest) {          
            tallest = thisHeight;       
        }    
    });    
    group.each(function() { $(this).height(tallest); });
} 

$(document).ready(function() {   
    equalHeight($(".thumbnail")); 
});
    </script>
 
    </div>

    <div class="spacer"></div>
<!--begin contact-->
    
      
<div id="Contact" class="col-xs-12">
  <h2>Contact Me</h2>
  <div class="row">
    <div class="col-xs-12 col-sm-6 blurb text-center">
      <div class="">"No one is you <br>and that is your power."</div></div>
  
  <div class="col-xs-12 col-sm-6 form">
    <div class="pad text-center">
<form action="mailto:sperrye@gmail.com" method="GET">
  <div class="form-group">
    <label for="youremail">E-mail Address:</label><br>
    <input type="email" class="form-control-email" id="youremail" aria-describedby="emailHelp" placeholder="Enter your e-mail" name="body"></input><br>
    <small id="emailHelp" class="form-text text-muted">We'll never share your e-mail with anyone else.</small>
  </div>
  
  <div class="form-group">
    <label for="yourname">Name:</label><br>
    <input type="text" class="form-control-text" id="yourname" placeholder="Enter your name" name="subject"></input>
</div>

<div class="form-group">
  <label for="phonenumber">Phone Number:</label><br>
  <input type="text" class="form-control-number" id="phonenumber" aria-describedby="number" placeholder="(XXX)XXX-XXXX" name="body"></input><br>

<label for="prefs">How would you prefer to be contacted?</label><br>
  <fieldset class="form-group" id="prefs">
    <div class="form-check">
      <p></p>
      <input type="radio" class="form-check-input" name="prefs" id="comemail" value="comemail" name="body" checked>
      <label class="form-check-label">E-mail</label><br>
      <input type="radio" class="form-check-input" name="prefs" id="comcall" value="comcall" name="body"> 
      <label class="form-check-label">Phone Call</label><br>
      <input type="radio" class="form-check-input" name="prefs" id="comtext" value="comtext" name="body">
      <label class="form-check-label">Text Message</label>
    </div>
</fieldset>

<div class="form-group">
  <label for="comments">Comments/Questions:</label><br>
  <input type="textarea" id="comments" class="form-control" rows="5" placeholder="" name="body"></textarea>
</div>

<button class="btn btn-primary" type="submit" value="Send">Submit</button>
</form>
    </div>
</div>

</div>
  

</div>
</div>
<!--end of contact form-->
      
  

</div>

<!--Examples1-->
<div id="Examples1"></div>
<!--end Examples1-->

<!--Examples2-->
<div id="Examples2"></div>
<!--end Examples2-->


<!--footer-->
<div class="footer">footer</div>

</div>
</body>
              
            
!

CSS

              
                body {
  padding-top: 100px;
  background-color: #fbfbf2;
  color: #1A1B25;
}
.container-fluid {
  width: 100%;
  background-color: #1a1b25;
  color: #1a1b25;
  font-family: 'Port Lligat Slab', serif;
}
.navfont {
  font-family: 'Cinzel Decorative', cursive;
}
.spacer {
  height: 100px;
}
.content {
  background-color: #e5e6e4;
  border: solid 1px #e5e6e4;
  border-radius: 3px;
  width: 75%;
  margin: 0 auto;
  padding: 0px;
}
.splash {
  font-family: 'Cabin Sketch', cursive;
  color: #fbfbf2;
  font-size: 60px;
  text-align: left;
  padding: 0px;
  margin: 0 auto;
}
.tagline {
  padding-left: 0%;
  opacity: 0.8;
  padding-top: 50px;
  background-image: url("http://sperrye.000webhostapp.com/authyou2.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 300px;
}
.tagquote {
  width: 30%;
  padding: 1% 1% 1% 0%;
  opacity: 0.7;
  background-color: orange;
  font-family: 'Port Lligat Slab', cursive;
  text-transform: uppercase;
  font-size: x-large;
}
h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 45px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #3c3637;
  padding-right: 0px;
  text-align: right;
}
h3 {
  font-family: 'Cinzel Decorative', serif;
}
.caption {
  font-family: 'Numans', sans-serif;
  font-size: x-small;
}
.btn-primary {
  background-color: orange;
  border-color: #fff;
  font-family: 'Numans', sans-serif;
  color: #1a1b25;
  font-weight: bold;
}
.formdrop {
  background-color: #1a1b25;
  opacity: 0.3;
}
#contact {
  text-align: right;
}
.form {
  width: 49%;
  margin-left: 1%;
  background-image: url("http://sperrye.000webhostapp.com/phone2.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  border: solid 2px #fbfbf2;
  border-radius: 80px;
  padding: 0%;
}
form {
  color: #e5e6e4;
  width: 100%;
  border: solid 0px #1a1b25;
  border-radius: 80px;
  padding: 10%;
  font-family: 'Numans', sans-serif;
  font-size: small;
  text-align: right;
  letter-spacing: 0px;
}
label {
  font-family: 'port lligat slab', serif;
  font-weight: normal;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: x-large;
  opacity: 0.7;
}
input {
  border: 1px solid #d31b1b;
  border-radius: 2px;
  font-family: 'Numans', sans-serif;
  font-size: small;
  opacity: 0.8;
  color: #000;
}
#comments {
  border: 1px solid #d31b1b;
  border-radius: 2px;
  font-family: 'Numans', sans-serif;
  font-size: small;
  color: #000;
  opacity: 0.8;
}
form-text, text-muted {
  color: #000;
}
.blurb {
  width: 49%;
  font-family: 'Inknut Antiqua', cursive;
  font-size: 45px;
  color: #d31b1b;
  display: inline-block;
  padding: 10%;
  background-color: #fbfbf2;
  border-radius: 80px;
  margin-right: 1%;
}
.pad {
  padding: 0%;
  display: inline-block;
  border-radius: 80%;
  width: 100%;
}
.row {
  margin: 0 auto;
}
.thumbnail {
  border-radius: 10px;
}
.thumbimg {
  border-radius: 10px;
}
              
            
!

JS

              
                $('.dropdown-toggle').dropdown()
              
            
!
999px

Console