css linear gradient
#grad {
background-image: linear-gradient(to right, #f1b1b1 , #82e6e8);
}
css linear gradient
#grad {
background-image: linear-gradient(to right, #f1b1b1 , #82e6e8);
}
how to change button gradient
.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*/
css button background linear gradient
.btn-grad {background-image: linear-gradient(to right, #E55D87 0%, #5FC3E4 51%, #E55D87 100%)}
.btn-grad {
margin: 10px;
padding: 15px 45px;
text-align: center;
text-transform: uppercase;
transition: 0.5s;
background-size: 200% auto;
color: white;
box-shadow: 0 0 20px #eee;
border-radius: 10px;
display: block;
}
.btn-grad:hover {
background-position: right center; /* change the direction of the change here */
color: #fff;
text-decoration: none;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us