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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

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.

            
              <footer class="debug">
  <h2>Contact</h2>
  <hr />
  <div class="grid col-2">
  <form class="debug">
    <fieldset>
      <legend>
        Request A Consultation
      </legend>
      <ol>
        <li>
      <label for="name">Name</label>
      <input type="text" id="name" name="name" />
        </li>
        <li>
   <label for="phone">Phone</label>
      <input type="tel" id="phone" name="phone" />
        </li>
        <li>
      <label for="email">Email</label>
      <input type="email" id="email" name="email" />
        </li>
        <li>
      <label for="website">Website</label>
      <input type="url" id="website" name="website" />
        </li>
        <li>
       <label for="business">Business Name</label>
      <input type="text" id="business" name="business" />
        </li>
        </ol>
    </fieldset>
  </form>
  <aside class="debug">
    <ul class="account-links">
      <li class="tw">
        <a href="#" title="twitter">
        <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M16 3.038c-.59.26-1.22.437-1.885.517.677-.407 1.198-1.05 1.443-1.816-.634.37-1.337.64-2.085.79-.598-.64-1.45-1.04-2.396-1.04-1.812 0-3.282 1.47-3.282 3.28 0 .26.03.51.085.75-2.728-.13-5.147-1.44-6.766-3.42C.83 2.58.67 3.14.67 3.75c0 1.14.58 2.143 1.46 2.732-.538-.017-1.045-.165-1.487-.41v.04c0 1.59 1.13 2.918 2.633 3.22-.276.074-.566.114-.865.114-.21 0-.41-.02-.61-.058.42 1.304 1.63 2.253 3.07 2.28-1.12.88-2.54 1.404-4.07 1.404-.26 0-.52-.015-.78-.045 1.46.93 3.18 1.474 5.04 1.474 6.04 0 9.34-5 9.34-9.33 0-.14 0-.28-.01-.42.64-.46 1.2-1.04 1.64-1.7z" fill-rule="nonzero"/></svg>
        </a>
      </li>
      <li class="fb">
        <a href="#" title="facebook">
        <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M15.117 0H.883C.395 0 0 .395 0 .883v14.234c0 .488.395.883.883.883h7.663V9.804H6.46V7.39h2.086V5.607c0-2.066 1.262-3.19 3.106-3.19.883 0 1.642.064 1.863.094v2.16h-1.28c-1 0-1.195.48-1.195 1.18v1.54h2.39l-.31 2.42h-2.08V16h4.077c.488 0 .883-.395.883-.883V.883C16 .395 15.605 0 15.117 0" fill-rule="nonzero"/></svg>
        </a>
      </li>
      <li class="li">
        <a href="#" title="linked in">
        <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M13.632 13.635h-2.37V9.922c0-.886-.018-2.025-1.234-2.025-1.235 0-1.424.964-1.424 1.96v3.778h-2.37V6H8.51v1.04h.03c.318-.6 1.092-1.233 2.247-1.233 2.4 0 2.845 1.58 2.845 3.637v4.188zM3.558 4.955c-.762 0-1.376-.617-1.376-1.377 0-.758.614-1.375 1.376-1.375.76 0 1.376.617 1.376 1.375 0 .76-.617 1.377-1.376 1.377zm1.188 8.68H2.37V6h2.376v7.635zM14.816 0H1.18C.528 0 0 .516 0 1.153v13.694C0 15.484.528 16 1.18 16h13.635c.652 0 1.185-.516 1.185-1.153V1.153C16 .516 15.467 0 14.815 0z" fill-rule="nonzero"/></svg>
        </a>
      </li>
    </ul>
    <ul class="details">
      <li>
      <a href="#">1-800-425-2345</a>
      </li>
      <li>
        <a href="#">info@consult.com</a>
      </li>
      <li>
    <address>
      Toronto, ON<br />
      Canada
      </address>
      </li>
    </ul>
    </aside>
    </div>
</footer>
            
          
!
            
              $white: #f4f4f4;
$blue: #27cbf4;
$purple: #c798f9;
$green: #9dd53a;
$gray: #666666;
$black: #121212;

// .debug { border: 1px solid red; }

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { font-size: 16pt; }

body {
  font-size: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  background-color: $black;
  color: $white;
}

hr {
  border: 0;
  border-top: 1px solid $gray;
  margin: 0 auto 1em;
  max-width: 60%;
}

a {
  color: $blue;
  &:visited { 
    color:  $purple;
  }
  &:hover, 
  &:active {
    color: $green;
  }
  
}

ol, ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
}
.col-2 {
  grid-template-columns: repeat(2, 1fr);
  grid-gap: .5em;
}

label {
  text-align: right;
  padding-right: .5em;
}

legend {
    display: table;
    float: left;
  font-weight: 700;
  text-transform: uppercase;
  color: lighten($gray, 15%);
    margin: 0 0 .5em;
    padding: 0;
    width: 100%;
  text-align: center;

    + * {
        clear: both;
    }
}

fieldset {
    border: 0;
    padding: 0.01em 0 0 0;
    margin: 0;
    min-width: 0;
}

body:not(:-moz-handler-blocked) fieldset {
    display: table-cell;
}

input {
  background-color: lighten($black, 7%);
  background-clip:padding-box;
border-radius:0;
-webkit-appearance:none;
  border: 1px solid lighten($black, 25%);
vertical-align: middle;
  font-size: inherit;
  font-family: inherit;
  padding: .025em .05em;
  
  &:focus{
  outline: 2px solid $blue;
  }
}

form li {
  margin-bottom: .75em;
  display: grid;
  grid-template-columns: 30% 70%;
}

form {
  max-width: 600px;
  padding: .5em 1em;
  border-right: 1px solid $gray;
}

footer h2 { text-align: center; margin-bottom: 0;}

aside {
  display: grid;
  grid-template-columns: 140px auto;
  grid-gap: .5em;
}

.account-links svg {
  padding: 0;
  margin: 0;
   vertical-align: middle;
  height: 32px;
  width: 32px;
  fill: $white;
}

.account-links li {
  max-width: 67px;
  margin-bottom: 1em;
  
  a {
    border: 1px solid $white;
    display: inline-block;
  text-align: center;
    padding: .75em;
    border-radius: 100%;
  }
}

.account-links {
  padding-left: 1.5em;
  padding-right: 1.5em;
  border-right: 1px solid $gray;
}


.details {
  padding-left: 1em;
  
  li {
    margin-top: 1em;
    margin-bottom: 1em;
  }
  
  address {
    color: lighten($gray, 15%);
    font-size: .85em;
    text-transform: uppercase;
    font-style: none;
  }
  
}

            
          
!
999px
Loading ..................

Console