试题详情

CSS3中,背景色从蓝色到黑色,并且由左到右线性渐变的正确写法是( )

Abackground:linear-gradient(to right,blue,black)

Bbackground-posotion:linear-gradient(to right,blue,black)

Cbackground:linear-gradient(to right bottom,blue,black)

Dbackground:linear-gradient(-90deg,blue,black)