-1

effect gradient css

I'd like to get the gradient effect of purple or white color that starts with a strong tone and gradually this until dimming seems to disappear or become transparent and you see the background behind.It's possible?

I hope I have explained!

Regards!

SoldierCorp
  • 7,610
  • 16
  • 60
  • 100

2 Answers2

1

I'd suggest using a CSS gradient generator.

Try this one: http://www.colorzilla.com/gradient-editor/

It has a number of presets, some of which look like they might be useful for you.

Spudley
  • 166,037
  • 39
  • 233
  • 307
0
div {
   height: 500px;
   width: 300px;
   background-image: -o-linear-gradient(#8860af, #4e91cc, #c7deee);
   background-image: -moz-linear-gradient(#8860af, #4e91cc, #c7deee);
   background-image: -webkit-linear-gradient(#8860af, #4e91cc, #c7deee);
}

Live demo: Tinkerbin

Read more here.

Nikola K.
  • 7,093
  • 13
  • 31
  • 39