CSS3提供了背景渐变色的属性,下面表示正确的渐变色写法是?( )
A: background-size:linear-gradient(green,red);
B: background-image:linear-gradient(green,red);
C: background-color:inherit;
D: background-position:linear-gradient(green,red);
A: background-size:linear-gradient(green,red);
B: background-image:linear-gradient(green,red);
C: background-color:inherit;
D: background-position:linear-gradient(green,red);
举一反三
- 下列哪项是正确的线性渐变的写法?( ) A: background:linear-gradient(red,blue); B: background:linear-gradient(45deg,red,blue); C: background-image:linear-gradient(red,blue); D: background-image:linear-gradient(45deg,red,blue);
- 以下语法格式正确的是()。 A: input:disabled{background:red;} B: input:enable{background:green;} C: input:checked{background:green;} D: input:selected{background:red;}
- 【单选题】background-image: linear-gradient(to right, red , yellow)与下面()效果一样。 A. background-image: linear-gradient(0deg, red , yellow) B. background-image: linear-gradient(90deg, red , yellow) C. background-image: linear-gradient(180deg, red , yellow) D. background-image: linear-gradient(-90deg, red , yellow)
- (网站).box{background:red;*background:blue;}在IE6.0浏览器中.box的背景色是()? A: blue B: red C: green D: black
- 哪个属性用来表示径向渐变()。 A: radial-gradient B: radial C: linear-gradient D: linear