html { content: ''; display: block; position: relative; bottom: 0; height: 120px; background: -moz-linear-gradient(top, rgba(255,255,255,0), #d6d6d6); } div{ height:100%; width:100%; background: -moz-linear-gradient(top, rgba(255,255,255,0), #d6d6d6); }