📜  如何更改按钮渐变 - CSS 代码示例

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

代码示例1
.Button:hover { /*this example is used for a hover state*/
background: linear-gradient( 90deg,Color1,Color2 ) ; 
}
/*input the degree with "deg" of the gradient,
then first and second colors*/