//从右到左,把to去掉则从左到右渐变
background: linear-gradient(to left, #d53242, #ff55ff,#ff55ff);
//从上到下
background: linear-gradient(#d53242, #ff55ff);
//阴影立体效果
box-shadow: 0px 1px 3px #868686;
效果:
//从右到左,把to去掉则从左到右渐变
background: linear-gradient(to left, #d53242, #ff55ff,#ff55ff);
//从上到下
background: linear-gradient(#d53242, #ff55ff);
//阴影立体效果
box-shadow: 0px 1px 3px #868686;