Quotes help make search much faster. Example: "Practice Makes Perfect"

Thursday, December 13, 2012

Codecademy Sample Solution: Codeyear Hidden in Shadows




/* solution for style.css*/

/*code exists prior to this point*/


.header {
  background: #222;
  color: white;
  top: 0;
  left: 0;
  right: 0;
  position: fixed;
  height: 130px;
 
  /* rgba is a different way of expressing color in
     terms of its RGB components with Alpha (transparency) */
  -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
 
  text-shadow: 1px 1px 0 rgb(255, 0, 0);
}

/*code exists after this point*/

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts