Background-gradient generator
Gradient:
Position
Size
Width & Height:
px (max: 600)
px (max: 300)
Background color
-
504%
-
504%
Source code
[HTML]
<p> </p>
[CSS]
p {
height: 200px;
width: 200px;
background: linear-gradient(to top, #FF0000 0%, #330000 100%);
background: -moz-linear-gradient(to top, #FF0000 0%, #330000 100%);
background: -o-linear-gradient(to top, #FF0000 0%, #330000 100%);
background: -ms-linear-gradient(to top, #FF0000 0%, #330000 100%);
background: -webkit-linear-gradient(bottom, #FF0000 0%, #330000 100%);