Article 6FH15 CSS background-color gradient

CSS background-color gradient

by
mfoley
from LinuxQuestions.org on (#6FH15)
I'm trying to create a background gradient on my wepage. I've tried (in .css):
Code:body { background-image: linear-gradient(top left to bottom right, rgb(105,153,255), rgb(226,250,255)) }The above does nothing. Other permutations I've tried (I won't them them all) give me bands of gradients, about 4 bands vertically with gradients from left to right (e.g. using "to bottom right").

I'm using Microsoft Edge 117.0.

What is the correct syntax for a gradient starting at the upper left and going to the bottom right?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments