Answers for "bg image linear gradient"

CSS
2

linear gradient with image

#show_bg_2 {
    background-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;
    color: white;
    padding: 20px;
}
Posted by: Guest on June-08-2021
4

linear gradient css background image

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

css horizontal gradient background color

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

linear gradient in CSS

The general syntax of linear-gradient is-
background: linear-gradient(gradient direction, color1 , color2 , color3, .....);

Forexample-
background: linear-gradient(46deg,green,blue,yellow,pink);

NOTE: (common mistake) we forget to write the semi-colon (;)
Posted by: Guest on September-10-2020

Code answers related to "bg image linear gradient"

Browse Popular Code Answers by Language