Answers for "gradient html"

3

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);
}
Posted by: Guest on December-19-2020
9

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;
}
Posted by: Guest on April-03-2020
8

css linear gradient

#grad {
  background-image: linear-gradient(to right, #f1b1b1 , #82e6e8);

}
Posted by: Guest on September-01-2020
4

linear gradient css background image

background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531);
Posted by: Guest on May-03-2020
7

linear-gradient

background: linear-gradient(to left, #333, #333 50%, #eee 100%);
Posted by: Guest on April-01-2020
8

css horizontal gradient background color

.foo {
	background-image: linear-gradient(red, blue);
}
Posted by: Guest on March-06-2020

Browse Popular Code Answers by Language