how to insert gradient in css
body{
/*Radial Gradient*/
background-image: radial-gradient(#EA52F8 5.66%, #0066FF 94.35%);
/*Linear Gradient*/
background-image: linear-gradient(45.34deg, #EA52F8 5.66%, #0066FF 94.35%);
}
how to insert gradient in css
body{
/*Radial Gradient*/
background-image: radial-gradient(#EA52F8 5.66%, #0066FF 94.35%);
/*Linear Gradient*/
background-image: linear-gradient(45.34deg, #EA52F8 5.66%, #0066FF 94.35%);
}
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;
}
css gradient
.yourElementClass{
background: linear-gradient(to top, #fff000 0%, #000fff 100%);
/* 1st property: from where the 100% starts */
/* 2nd property: the first color */
/* 3rd property: the second color */
/* to add some colors to the gradient, do the same thing of 2nd and 3rd properties, edit the color and the color-stop */
}
how to put background gradient css
.element {
background: linear-gradient(
#FF0000 /*Colour 1*/
#00FFFF /*Colour 2*/
);
}
/*Linear Gradient (Popular)*/
.element {
background: radial-gradient(
#FF0000 /*Colour 1*/
#00FFFF /*Colour 2*/
);
}
/*Radial Gradient*/
gradient css background
/*From bottom to top*/
background: rgb(166,166,166);
background: linear-gradient(0deg, rgba(166,166,166,1) 0%, rgba(255,255,255,1) 29%);
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