linear-gradient(top to bottom)
/* A gradient going from the top to bottom
starting red and finishing orange */
.class {
background: linear-gradient(to bottom, #f32b60, #ff8f1f);
}
linear-gradient(top to bottom)
/* A gradient going from the top to bottom
starting red and finishing orange */
.class {
background: linear-gradient(to bottom, #f32b60, #ff8f1f);
}
linear gradient css
/* A gradient tilted 100 degrees,
starting gray and finishing black */
.class {
background: linear-gradient(100deg, rgba(63, 63, 63, 0.8) 0%, rgba(255, 255, 255, 0) 25%);
}
/* A gradient going from the bottom to top
starting red and finishing orange */
.class {
background: linear-gradient(to top, #f32b60, #ff8f1f);
}
gradient image css
#show_bg_2 {
background-image:
/*two color gradient over an image*/
linear-gradient(to bottom, rgba(245, 246, 252, 0.52),
rgba(117, 19, 93, 0.73)),url('images/background.jpg');
width: 80%;
height: 400px;
background-size: cover;
}
linear gradient css background image
background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531);
css linear gradient
#gradient {
background-image: linear-gradient(180deg, black, red);
}
/* can be applied in many places, as your <body> background or a <div> etc */
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