Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在下图中,-webkit-box-shadow 规则用红色划掉,而 -moz-box-shadow 规则用黑色划掉。
每个是什么意思?(例如,红色和黑色穿透有什么区别?)
红色删除线表示错误,例如无效值或语法错误,黑色删除线表示规则被忽略,通常是因为它已被覆盖。
在您的示例中,由于值无效(而不是),该-webkit-box-shadow规则被红色划掉。rbgargba
-webkit-box-shadow
rbga
rgba