xxxxxxxxxx
<style>
body {
background: linear-gradient(to bottom, #ff0000, #0000ff);
}
</style>
xxxxxxxxxx
/* A gradient going from the top to bottom
starting red and finishing orange */
.class {
background: linear-gradient(to bottom, #f32b60, #ff8f1f);
}