cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

            
              
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Style Guide</title>
      
      <link href='https://fonts.googleapis.com/css?family=PT+Sans:400,700|Bitter:400,700' rel='stylesheet' type='text/css'>
        
</head>
<body class="home-pg">
    <header id="header" class="header">
        <div class="container">
            <hgroup>
                <h2>Style Guide</h2>
                <h1>Trade Show</h1>
                           
            </hgroup>
        </div>
    </header><!-- /header -->

    <div class="main" id="main">

        <section class="typography">
            <div class="container">
                    
                <h1>Typography</h1>
                
                <h2>Typefaces</h2>
                <hr />
                <div class="type-sample primary">
                                
                    <h3>PT Sans</h3>
                    <h4>Regular</h4>
                    <p>ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
                    abcdefghijklmnopqrstuvwxyz<br />
                    1234567890<br />
                    #*@$%&_.-,&ndash;;:&mdash;?!&lsquo;&rsquo;&ldquo;&rdquo;()</p>
                  
                  <h4>Italic</h4>
                    <p><em>ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
                    abcdefghijklmnopqrstuvwxyz<br />
                    1234567890<br />
                    #*@$%&_.-,&ndash;;:&mdash;?!&lsquo;&rsquo;&ldquo;&rdquo;()</em></p>

                    <h4>Bold</h4>
                    <p><strong>ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
                    abcdefghijklmnopqrstuvwxyz<br />
                    1234567890<br />
                    #*@$%&_.-,&ndash;;:&mdash;?!&lsquo;&rsquo;&ldquo;&rdquo;()</strong></p>


                </div>
                <hr />
                <div class="type-sample secondary">
                                
                    <h3>Bitter</h3>

                    <h4>Regular</h4>
                    <p>ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
                    abcdefghijklmnopqrstuvwxyz<br />
                    1234567890<br />
                    #*@$%&_.-,&ndash;;:&mdash;?!&lsquo;&rsquo;&ldquo;&rdquo;()</p>

                    <h4>Italic</h4>
                    <p><em>ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
                    abcdefghijklmnopqrstuvwxyz<br />
                    1234567890<br />
                    #*@$%&_.-,&ndash;;:&mdash;?!&lsquo;&rsquo;&ldquo;&rdquo;()</em></p>

                    <h4>Bold</h4>
                    <p><strong>ABCDEFGHIJKLMNOPQRSTUVWXYZ<br />
                    abcdefghijklmnopqrstuvwxyz<br />
                    1234567890<br />
                    #*@$%&_.-,&ndash;;:&mdash;?!&lsquo;&rsquo;&ldquo;&rdquo;()</strong></p>

                   

                </div>
                <hr />
                <h2>Headings</h2>

                <h1>Primary Heading</h1>
                <h2>Secondary heading</h2>
                <h3>Third heading</h3>
                <h4>Fourth heading</h4>
                <h5>Fifth heading</h5>
                <h6>Sixth heading</h6>

                <hr />

                <h2>Paragraphs</h2>

                <div class="content">
                    <p>Here are some paragraphs. This is the meat of our content and where most of our typographic decisions derrive from. Look inside the following paragraphs for examples of <a href="">links</a>, <strong>bold text</strong>, and <em>italics</em>. Here is an abbreviation for <abbr title="Hypertext Markup Language" class="acr">HTML</abbr>. Here is a foonote reference<sup><a href="#fn1">*</a></sup></p>
                    <br />
                    <p id="fn1"><small><sup>*</sup> Here is some fine print. It can be used for the little stuff, like this footnote.</small></p>
                    <hr />
                    <h3>Example content</h3>


                    <h1>Steve Smith On Optimizing For Happiness</h1>
                    <p class="lead">I had a chance to chat with the dashing and determined Mr. <a href="">Steve Smith</a> recently. His company, <em>Ordered List</em>, was acquired by <em><a href="">GitHub</a></em> in 2011 and since then, he and his fellow coworkers have been focused on creating new products such as the latest release of <a href="">GitHub for Mac</a>, support tools, internal analytics, improving <em><a href="">Speaker Deck</a></em>, and more.</p>
                    

                    <p>We&rsquo;ve been talking a lot about flat teams at <em>nGen</em> over the last year and a bit. So chatting with Steve was fascinating because <em>Ordered List</em> was a flat company that employed five people, and of course, <a href="">GitHub</a> is flat and employs 148 (as of this writing). Quite a spread.</p>

                    <p>Naturally, I wanted to know about the mechanism behind that flatness. How do things work? Does it matter how big or small your teams are? What&rsquo;s important where you work? What happens when things get tough? Steve gave me so much to work with I probably could have written a short novel, but then we&rsquo;d have to work out royalties and I&rsquo;d have to put up fake pictures of him in sparkly drag to test his loyalty&mdash;he does have great hair.</p>

                    <p>Instead, I decided to lay out the teeth and bones of being flat at <em>GitHub</em> so you could see how large companies are doing flat these days.</p>

                    <h2>Some Things You Should Know About Steve</h2>
                    <ul>
                        <li>He&rsquo;s got a wicked sense of humor.</li>
                        <li>He&rsquo;s from South Bend, Indiana, which should never be confused with Silicon Valley.</li>
                        <li>In 2007 he formed Ordered List with his pal <a href="">John Nunemaker</a> and later added <a href="">Jonathan Hoyt</a>, <a href="">Branden Keepers</a>, and <a href="">Matt Graham</a> to the mix.</li>
                        <li>Together they created cool stuff like <a href="">Speaker Deck</a> and <a href="">Gauges</a> which caught <em>GitHub&rsquo;s</em> attention.</li>
                    </ul>

                </div>



                <blockquote>
                    <p>It takes a huge amount of trust and respect and the ability to recognize that [the founders’] concept of what GitHub is and can be on its own is smaller and weaker than what it could be collectively.</p>
                    <p class="source">&ndash; Steve Smith <cite><a href="">Github</a></cite></p>
                </blockquote>

                <aside class="callout">
                    <h4>Callout</h4>
                    <p>Callout content is a related aside that doesn't fit directly inside normal page content. It may also my use to highlight important sections. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Nullam quis risus eget urna mollis ornare vel eu leo. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Nullam quis risus eget urna mollis ornare vel eu leo. Cras justo odio, dapibus ac facilisis in, egestas eget quam.</p>
                </aside>

                <hr />

                <h2>Lists</h2>

                <ul>
                    <li>Unordered list item</li>
                    <li>Unordered list item</li>
                    <li>Unordered list item</li>
                    <li>Unordered list item
                        <ul>
                            <li>Unordered list item</li>
                            <li>Unordered list item</li>
                            <li>Unordered list item</li>
                        </ul>
                    </li>
                    <li>Unordered list item</li>
                    <li>Unordered list item</li>
                    <li>Unordered list item</li>
                </ul>

                <ol>
                    <li>Ordered list item</li>
                    <li>Ordered list item</li>
                    <li>Ordered list item</li>
                </ol>

                <hr />

            </div>
        </section>

        <section class="colors">
            <div class="container">
                <hr />        
                <h1>Site colors</h1>
                <div class="swatch color1">
                    #0370b1
                </div>
                <div class="swatch color2">
                    #015183
                </div>
                <div class="swatch color3">
                    #feb717
                </div>
                <div class="swatch color4">
                    #d47900
                </div>
                <div class="swatch color5">
                    #ebebeb
                </div>
                <div class="swatch color6">
                    #acacac
                </div>
                <div class="swatch color7">
                    #414242
                </div>
                <div class="swatch color8">
                  #98c06d
              </div>
            </div>
        </section>
        <section class="icons">
            <div class="container">
                <h1>Icons</h1>
                <hr />
                <h4>ico moon</h4>
              <h4 class="liveChat"><span aria-hidden="true" data-icon="&#x68;" class="chat"></span>Live Chat Online Support</h4>
              <br />
              <span aria-hidden="true" data-icon="&#x61;" class="arrow"></span>
              <br />
              <span aria-hidden="true" data-icon="&#x73;" class="search"></span>
              <br />
              <span aria-hidden="true" data-icon="&#x63;" class="cart"></span>
            </div>
        </section>
        <section class="forms">
            <div class="container">
                
                <h1>Form elements</h1>
                <hr />
                <form action="" method="post">
                    <fieldset>
                        <legend><h2>Text Inputs</h2></legend>
                    
                        <div class="field">
                            <label for="text">Text input <sup>*</sup></label>
                            <input type="text" name="text" value="" placeholder="Text" />
                        </div>            
                        <div class="field">
                            <label for="email">Email input <sup>*</sup></label>
                            <input type="email" name="email" value="" placeholder="name@example.com" />
                        </div>            
                        <div class="field">
                            <label for="url">URL input</label>
                            <input type="url" name="url" value="" placeholder="http://example.com" />
                        </div>  
                        <div class="field">
                            <label for="tel">Telephone input</label>
                            <input type="tel" name="tel" value="" placeholder="555-555-5555" />
                        </div>          
                        <div class="field">
                            <label for="search"  >Search input</label>
                          <input type="search" name="search" value="" placeholder="Search"> 
                        
                        </div>      
                        <div class="field">
                            <label for="number">Number input</label>
                            <input type="number" name="number" value="" placeholder="" />
                        </div>      
               

                        <div class="field">
                            <label for="textarea">Textarea</label>
                            <textarea name="textarea"></textarea>
                        </div>

                        <div class="field">
                            <label for="error">Invalid input</label>
                            <input type="text" name="error" value="Bad input" class="error" placeholder="" />
                            <label class="error block">Error message for invalid field.</label>
                        </div>

                    </fieldset>
                    <fieldset>
                        <legend><h2>Checks &amp; Radios</h2></legend>
                        <div class="checkboxes field">
                            <legend>Checkboxes</legend>
                            <label><input type="checkbox" name="checkbox" value="checkbox" /> Checkbox option</label>
                            <label><input type="checkbox" name="checkbox" value="checkbox" /> Checkbox option</label>
                            
                        </div>
                        <div class="radios field">
                            <legend>Radios</legend>
                            <label><input type="radio" name="radio" value="radio" /> Radio option</label>
                            <label><input type="radio" name="radio" value="radio" /> Radio option</label>
                          
                        </div>
                        <div class="radios field error">
                            <legend>Invalid input</legend>
                            <label><input type="radio" name="radio" value="radio" /> Radio option</label>
                            <label><input type="radio" name="radio" value="radio" /> Radio option</label>
                            <label class="error block">Error message for invalid field.</label>
                        </div>
                    </fieldset>
              
                    <fieldset>
                        <legend><h2>File uploads</h2></legend>
                        <div class="field">
                            <label for="file">File upload</label>
                            <input type="file" name="file" value="" />
                        </div>
                    </fieldset>
                    <fieldset>
                        <legend><h2>Buttons</h2></legend>
                        
                        <div class="field">
                            <a href="#" class="btnLarge">Large Call to Action</a>
                        </div>
                        <div class="field">
                            <a href="#" class="btnSmall">Small Call To Action</a>
                        </div>
                      <div class="field">
                            <a href="#" class="btnNeutral">Least Important Button</a>
                        </div>
                        
                    </fieldset>
                </form>
            </div>
        </section>
      
    </div>
    
</body>
</html>
            
          
!
            
              @import "compass/css3";

@mixin serif {
  font-family: "bitter",serif;
}

@mixin sans {
  font-family: "PT Sans",sans-serif;
}

@mixin icon {
  font-family: "icomoon";
}

/*@font-face {
	font-family: 'icomoon';
	src:url('http://ftsblueprint.com/fonts/fonts/icomoon.eot');
	src:url('http://ftsblueprint.com/fonts/fonts/icomoon.eot?#iefix') format('embedded-opentype'),
		url('http://ftsblueprint.com/fonts/fonts/icomoon.woff') format('woff'),
		url('http://ftsblueprint.com/fonts/fonts/icomoon.ttf') format('truetype'),
		url('http://ftsblueprint.com/fonts/fonts/icomoon.svg#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Use the following CSS code if you want to use data attributes for inserting your icons */
[data-icon]:before {
	font-family: 'icomoon';
	content: attr(data-icon);
	speak: none;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}

$primary: #0370b1;
$primaryShadow: #015183;

$accent: #feb717;
$accentShadow: #d47900;

$money: #98C06D;

$darkGray: #414242;
$midGray: #acacac;
$midGray2: #7b7b79;
$lightGray: #ebebeb;

.color1 {
  background: $primary;
}

.color2 {
  background: $primaryShadow;
}
.color3 { 
  background: $accent;
}
.color4 {
  background: $accentShadow;
}
.color5 {
  background: $lightGray;
}
.color6 {
  background: $midGray;
}
.color7 {
  background: $darkGray;
}

.color8 {
  background: $money;
}

h1 {
  @include serif;
  color: $darkGray;
  font-size: 30px;
  font-weight: 700;
}

h2 {
  @include serif;
  color: $primary;
  font-size: 18px;
  font-weight: 400;
}

h3 {
  @include sans;
  color: $midGray;
  font-size: 18px;
  font-weight: 400;
  
}

h4 {
  @include serif;
  color: $darkGray;
  font-size: 14px;
  font-weight: 700;
}

h5 {
  @include sans;
  color: $darkGray;
  font-size: 12px;
  font-weight: 700;
}

h6{
  @include sans;
  color: $midGray;
  font-size: 12px;
  font-weight: 400;
}

p {
  @include sans;
  color: $darkGray;
  font-size: 14px;
}

.secondary p {
  @include serif;
}

a {
  color: $primary;
}

small {
  @include sans;
  font-size: 12px;
  font-weight: 700;
}

li {
  @include sans;
  font-size: 18px;
  color: $midGray;
}

.callout {
  padding: 20px;
  border: 1px solid $lightGray;
  @include background-image(linear-gradient(white, #F4F5FA));
}

hr {
  background-color: lighten($midGray, 20%);
  border: 0;
  height: 1px;
  margin: 40px 0;
}
.container {
margin: 0 7.14286%;
}

.header {
  padding: 40px 0;
    @include background-image(linear-gradient(white, #F4F5FA));
}

section {
  padding: 40px 0;
}

.swatch {
  @include border-radius(500px);
  @include box-sizing(border-box);
  padding: 66px;
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 20px;
  @include box-shadow(0 3px 20px lighten($midGray,10%), 0 2px 2px $midGray);
  border: 5px solid white;
  text-indent: -9999px;
  &:hover{
     text-indent: -30px; 
    }
}

input[type="text"], textarea, input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], input[type="date"], input[type="datetime"], input[type="month"], input[type="week"], input[type="datetime-local"], input[type="color"] {
  @include sans;
display: block;
outline: 0;
font-weight: 400;
 @include box-sizing(border-box);
padding: 8px 16px;
font-size: 14px;
line-height: 1.6;
 @include border-radius(5px);
border: 1px solid $midGray;
background: white;
width: 217px;
position: relative;
}

input[type="number"] {
   @include sans;
display: block;
outline: 0;
font-weight: 400;
 @include box-sizing(border-box);
padding: 8px 16px;
font-size: 14px;
line-height: 1.6;
 @include border-radius(5px);
border: 1px solid $midGray;
background: white;
width: 80px;
}


label {
  @include sans;
  font-size: 14px;
  font-weight: 700;
  float: left;
  padding-right: 10px;
  padding-top: 10px;
  width: 100%;
  margin-bottom: 10px;
}

label[for="file"]{
  padding-top: 0px;
}

.error {
  color: $accent;
}

.btnLarge {
  position: relative;
  display: inline-block;
  padding: .6em;
  color: #fff;
  text-shadow: 0 1px 2px $accentShadow;
  font-size: .875em;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  background-color: $accent;
  border: 1px solid $accentShadow;
  border-radius: 5px;
  @include box-shadow(
    0 2px 0px 0px $accentShadow);
  @include transition(all .1s ease-in-out);
  &:before, &:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  &:before {
    height: 1px;
    background: rgba(white, 0.4);
  }
    &:hover {
    background-color: lighten($accent, 2%);
    }
    &:active {
    top: .15em;
    background-color: lighten($accent, 6%);
    @include box-shadow(
    none);
    }
}


.btnSmall {
  position: relative;
  display: inline-block;
  padding: 7px 15px;
  color: #fff;
  font-size: .750em;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  background-color: $primary;
  border: 1px solid $primaryShadow;
  border-radius: 5px;
  @include box-shadow(
    0 2px 0px 0px $primaryShadow);
  @include transition(all .1s ease-in-out);
  &:before, &:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  &:before {
    height: 1px;
    background: rgba(white, 0.4);
  }
    &:hover {
    background-color: lighten($primary, 2%);
    }
    &:active {
    top: .15em;
    background-color: lighten($primary, 6%);
    @include box-shadow(
    none);
    }
}

.btnNeutral {
  position: relative;
  display: inline-block;
  padding: 7px 15px;
  color: $darkGray;
  font-size: .750em;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  @include background-image(linear-gradient(#fcfcfd,$lightGray));
  border: 1px solid darken($lightGray, 20%);
  border-radius: 5px;
  @include box-shadow(
    0 2px 0px 0px darken($lightGray, 20%));
  @include transition(all .1s ease-in-out);
  &:before, &:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  &:before {
    height: 1px;
    background: rgba(white, 0.4);
  }
    &:hover {
    background-color: lighten($lightGray, 1%);
    }
    &:active {
    top: .15em;
    background-color: lighten($lightGray, 3%);
    @include box-shadow(
    none);
    }
}


.field {
  padding: 20px 0px;
}

fieldset {
  margin: 40px 0;
}

.liveChat {
  display: inline-block;
  padding: 2px 15px 10px;
  border: 2px solid white;
  background: $lightGray;
  color: $midGray2;
  @include box-shadow(0 0 10px lighten($midGray,10%));
  @include transition(all .1s ease-in-out);
  &:hover{
    background: darken($lightGray,5%);
    }
  
}
.chat {
  font-size: 25px;
  color: $midGray2;
  padding-right: 5px;
  position: relative;
  top: 4px;
}

.arrow {
  font-size: 30px;
  color: $primary;
  &:hover{
     color: darken($primary,10%);
    }
}

.search {
  font-size: 40px;
  color: $midGray;
  padding: 20px 0px;
}

.cart {
  color:$primary;
  font-size: 14px;
  display: inline-block;
  @include transition(all .1s ease-in-out);
  
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console