CSS Gradient, color-stops only

CSS gradients do not need starting or ending values

by desandro

HTML

<div id="grad"></div>

CSS

#grad {
  width: 300px;
  height: 100px;
  border: 2px solid;
  background: -moz-linear-gradient( left, red 25%, blue 75% );
  background: -webkit-gradient( linear, left center, right center, color-stop( 25%, red ), color-stop( 75%, blue ) );
}