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.

              <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 class="profilePhoto">
    <img src="http://ericdouglaspratt.com/img/post/2013/cssBoxShadow_successKid.jpg" alt="Success Kid" />
  <div class="userName">
    Success Kid
  <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>
              /* 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;
🕑 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 ..................