是否可以结合低不透明度渐变和背景颜色

Is it possible to combine a low opacity gradient and background color

这是我正在尝试做的事情:http://jsfiddle.net/wLyqvrn1/1/

table {
  height: 200px;
    width: 200px;
  background-color: #444557; /* this doesn't show below the gradient */

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,ffffff+100&0.1+0,0.1+100 */
  background: -moz-linear-gradient(top, rgba(0,0,0,0.1) 0%, rgba(255,255,255,0.1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.1)), color-stop(100%,rgba(255,255,255,0.1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.1) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a000000', endColorstr='#1affffff',GradientType=0 ); /* IE6-9 */
}

尽管有一个关于这个的老问题的答案,也许最好添加一些更详尽的解释。

background-colorbackground

中的属性之一

当您设置

背景:线性渐变(...);

即使您认为您没有更改背景颜色,但您确实在这样做!

background 扩展到它的所有属性,然后重置它们(也是因为它的定义晚于 background-color)