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.

            
              <div id="navBar"></div>
<div id="profileHead">
  <div class="coverPhoto">
    <img src="http://ericdouglaspratt.com/img/post/2013/cssBoxShadow_coverPhoto.jpg" alt="Success Kid's Cover Photo" />
    <div class="coverShadow"></div>
  </div>
  <div class="profilePhoto">
    <img src="http://ericdouglaspratt.com/img/post/2013/cssBoxShadow_successKid.jpg" alt="Success Kid" />
  </div>
  <div class="userName">
    Success Kid
  </div>
  <div class="toolbar">
    <ul class="clearfix">
      <li><a href="#">Timeline</a></li>
      <li><a href="#">About</a></li>
      <li><a href="#">Friends</a></li>
      <li><a href="#">Photos</a></li>
      <li><a href="#">More</a></li>
    </ul>
  </div>
</div>
            
          
!
            
              /* Put your box-shadow inside this selector: */

.coverShadow {
  
}






/* You don't need to touch anything below this line. */

body {
  background-color: #e7ebf2;
  font-family: 'lucida grande', tahoma, verdana, arial, sans-serif;
  text-align: center;
}

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

#navBar {
  background-color: #4c66a4;
  border-bottom: 1px solid #3a4b7c;
  height: 42px;
}

#profileHead {
  margin: 0 auto;
  text-align: left;
  position: relative;
  width: 850px; 
}

.coverPhoto {
  border-color: #d3d6db;
  border-style: solid;
  border-width: 0px 1px 0px 1px;
  position: relative;
}
.coverPhoto img {
  width: 100%;
}
.coverShadow {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.profilePhoto {
  border: 1px solid #b2b2b2;
  border-radius: 3px;
  bottom: 15px;
  left: 15px;
  position: absolute;
}
.profilePhoto img {
  border: 4px solid #fff;
  width: 160px; 
}

.userName {
  bottom: 57px;
  color: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: bold;
  left: 200px;
  position: absolute;
}

.toolbar {
  background-color: #fff;
  border-color: #d3d6db;
  border-style: solid;
  border-radius: 0px 0px 3px 3px;
  border-width: 0px 1px 1px 1px;
}
.toolbar ul {
  border-left: 1px solid #d3d6db;
  height: 42px;
  margin-left: 200px;
}
.toolbar li {
  float: left;
}
.toolbar li a {
  border-right: 1px solid #d3d6db;
  color: #3b5998;
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  height: 42px;
  line-height: 42px;
  padding: 0 20px;
  text-decoration: none;
}
.toolbar li a:hover {
  background-color: #f6f7f8;
}
            
          
!
999px
Loading ..................

Console