📜  样式禁用按钮 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:31.582000             🧑  作者: Mango

代码示例2
/* CSS Selectors for CSS2 and CSS3 both */
button:disabled,
button[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}