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

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <body>
<div id="expertise">
  <div class="origin item">Origination / Site Selection</div>
  <div class="construction item">Construction / Design</div>
  <div class="leasing item">Leasing</div>
  <div class="financing item">Financing</div>
  <div class="entitlement item">Entitlement</div>
  <div class="asset item">Asset Management</div>
</div>
</body>
            
          
!
            
              body {
  width:100%;
  height:100%;
  font-family: "Helvetica" sans-serif;
  font-weight: 100;
  font-size:8px;

  background:url('http://www.clarkstreet.com/sites/all/themes/centrum/images/about_chicago.jpg') no-repeat center rgba(0,0,0,0.8);
  overflow:hidden; /*removes scroll bar*/
}

#expertise {
  width:500px;
  height:500px;
  display:block;
  margin:0 auto;
  padding:25vh 0;
}

.item {
  position:relative;
  color: #fff;
  background-color: transparent;
  padding: 10px;
  width:47%;
  border: #fff solid 2px;
  margin-bottom:10px;
  display:inline-block;
  * display:inline;
  margin: 0px 3px 10px 3px;
  padding:20px;
  box-sizing:border-box;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:2px;
  border-radius:2px;
  box-shadow:0px 2px 5px rgba(0,0,0,0.5);
    overflow:hidden;
}

.item:before {
  content:'';
  background-repeat: no-repeat;
  background-size: 100%;
  width:30px;
  height:40px;
  display:block;
  margin:0 auto;
}

.origin.item:before {
  background-image: url("http://dev-clark-street.gotpantheon.com/sites/all/themes/centrum/images/icon/1.png");
}

.origin.item:hover:before {
  background-image: url("http://dev-clark-street.gotpantheon.com/sites/all/themes/centrum/images/icon/1g.png");
}

.construction.item:before {
  background-image: url("http://dev-clark-street.gotpantheon.com/sites/all/themes/centrum/images/icon/2.png");
}

.construction.item:hover:before {
  background-image: url("http://dev-clark-street.gotpantheon.com/sites/all/themes/centrum/images/icon/2g.png");
}

.leasing.item:before {
  background-image: url("http://dev-clark-street.gotpantheon.com/sites/all/themes/centrum/images/icon/3.png");
}

.leasing.item:hover:before {
  background-image: url("http://dev-clark-street.gotpantheon.com/sites/all/themes/centrum/images/icon/3g.png");
}

.financing.item:before {
  background-image: url("http://dev-clark-street.gotpantheon.com/sites/all/themes/centrum/images/icon/4.png");
}

.financing.item:hover:before {
  background-image: url("http://dev-clark-street.gotpantheon.com/sites/all/themes/centrum/images/icon/4g.png");
}

.entitlement.item:before {
  background-image: url("http://dev-clark-street.gotpantheon.com/sites/all/themes/centrum/images/icon/5.png");
}

.entitlement.item:hover:before {
  background-image: url("http://dev-clark-street.gotpantheon.com/sites/all/themes/centrum/images/icon/5g.png");
}

.asset.item:before {
  background-image: url("http://dev-clark-street.gotpantheon.com/sites/all/themes/centrum/images/icon/6.png");
}

.asset.item:hover:before {
  background-image: url("http://dev-clark-street.gotpantheon.com/sites/all/themes/centrum/images/icon/6g.png");
}

.item:after {
  content: "";
  display:block;
  border-top: 0 #fff solid;
  border-bottom: 15px transparent solid;
  border-left: 15px #fff solid;
  position:absolute;
  top:0;
  left:0;
  width:0;
  z-index:-1;
  overflow:hidden;
}

.item:hover:after {
  z-index:-1;
  border-left: 302px solid #fff;
  border-bottom:302px solid transparent;
  overflow:hidden;
  background-color:#007766;
}

.item:hover:before {
  background-image: url("http://cdn.flaticon.com/png/256/66740.png");
}

.item:hover {
  color:#007766;
  overflow:hidden;
  margin-bottom: 10px;
  cursor:pointer;
}

.item:hover, .item:after, .item {
  -webkit-transition: 0.5s color ease;
  -moz-transition: 0.5s color ease;
  -o-transition: 0.5s color ease;
  transition: 0.5s color ease;
}

.item:hover, .item:after {
  -webkit-transition: 0.5s border ease;
  -moz-transition: 0.5s border ease;
  -o-transition: 0.5s border ease;
  transition: 0.5s border ease;
}

.item:after {
    overflow:hidden;
}

.item:before, .item:hover:before, .item:hover:after {
  -webkit-transition: 0.75s all ease;
  -moz-transition: 0.75s all ease;
  -o-transition: 0.75s all ease;
  transition: 0.75s all ease;
}
            
          
!
999px
Loading ..................

Console