<div></div>
div{
width:150px;
height:150px;
  
background: -moz-linear-gradient(#fff, #000); /* FF3.6+ */
background: -webkit-linear-gradient(#fff,#000); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(#fff,#000); /* Opera11.10+ */
background: -ms-linear-gradient(#fff,#000); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#000',GradientType=0 ); /* IE6-9 */
background: linear-gradient(#fff,#000); /* W3C */
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.