octocatstartv

cIDLl

A Pen By Captain Anonymous

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Want a Run Button?

If active, the preview will update automatically when you change code.

            
              <div id="footer">
  
  <div class="column col-1">
    <h3 class="arrow-down">About Our Company</h3>
    <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
  </div>
  
  <div class="column col-2">
    <h3 class="arrow-down">Information</h3>
    <ul class="fcol">
      <li><a href="<?php echo $account; ?>">Your Account</a></li>
      <li><a href="<?php echo $login; ?>">Login</a></li>
      <li><a href="<?php echo $wishlist; ?>">Register</a></li>
      <li><a href="<?php echo $FAQs; ?>">FAQs</a></li>
      <li><a href="<?php echo $newsletter; ?>">News Letter</a></li>
    </ul>
  </div>
  <div class="column col-2">
    <h3 class="arrow-down">Security &amp; Privacy</h3>
    <ul class="fcol">
      <li><a href="<?php echo $privacy; ?>">Privacy Statement</a></li>
      <li><a href="<?php echo $terms; ?>">Terms &amp; Conditions</a></li>
      <li><a href="<?php echo $sitemap; ?>">Site Map</a></li>
    </ul>
  </div>
  
  <div class="column col-2">
    <h3 class="arrow-down">Extras</h3>
    <ul class="fcol">
      <li><a href="<?php echo $manufacturer; ?>">Vendor</a></li>
      <li><a href="<?php echo $voucher; ?>">Gift Vouchers</a></li>
      <li><a href="<?php echo $affiliate; ?>">Affiliates</a></li>
      <li><a href="<?php echo $special; ?>">Specials</a></li>
      <li><a href="<?php echo $wishlist; ?>">Wish List</a></li>
    </ul>
  </div>
  <div class="column col-2">
    <h3 class="arrow-down">Delivery & Returns</h3>
    <ul class="fcol">
      <li><a href="<?php echo $contact; ?>">Contact</a></li>
      <li><a href="<?php echo $return; ?>">Return</a></li>
    </ul>
  </div> 
  
</div>
            
          
!
            
              /* always use this it solves so many problems with element sizing */

* {
  box-sizing-border-box;
}

/* footer */ 
body {
  background: #000;
}

#footer{
  width: 980px;
  margin:0 auto;
  background-color: #DDDDDD;
  overflow:hidden;
}

.column {
  float:left;
}

.column h3 {
  font-size: 14px;
  margin:5px;
  padding-left:5px;
  color: #fff;
  font-weight: bolder;
  background-color: #f5f5f5;
  background-image: -webkit-gradient(linear,left top,left bottom,from(#013370),to(#095fcc));
  background-image: -webkit-linear-gradient(top,#013370,#095fcc);
  background-image: linear-gradient(to bottom,#013370,#095fcc);
  background: "",-webkit-gradient(linear,left top,left bottom,from(#013370),to(#095fcc));
  background: "",-webkit-linear-gradient(top,#013370,#095fcc);
  background: "",linear-gradient(to bottom,#013370,#095fcc);
  background-color: #05499e;
  background-image: -webkit-linear-gradient(bottom,#013370,#095fcc);
  background-image: -moz-linear-gradient(bottom,#013370,#095fcc);
  
  height: 30px; 
  line-height: 30px; 
  position:relative;
  
  -webkit-border-radius: 3px 3px 3px 3px;
  -moz-border-radius: 3px 3px 3px 3px;
  -khtml-border-radius: 3px 3px 3px 3px;
  border-radius: 3px 3px 3px 3px;
}

#footer h3.arrow-down:before {
  content:"";
  position:absolute;
  top:100%;
  left:10px;
  width: 0px;
  height 0px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #013370; 
}

.column p {
  padding:5px;
  font-size:14px;
  line-height:30px;
}

.col-1 {  
  width: 255px;
}

.col-2 {
 width: 160px;
}

.fcol{
  list-style:none;
  margin:0;
  padding:8px;

}

.fcol li {
  background:lightgrey;
  padding:5px;
}

.fcol li:hover {
  background:grey;
}

.fcol li a {
  text-decoration: none;  
  color: #000;
  font-size: 14px;
  display:block;
  
}


            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console