Check out example codes for "linear gradient css background image". It will help you in understanding the concepts better.

Code Example 1

background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531);

Code Example 2

body {
  background: #eb01a5;
  background-image: url("IMAGE_URL"); /* fallback */
  background-image: url("IMAGE_URL"), linear-gradient(#eb01a5, #d13531); /* W3C */
}

Code Example 3

.element {
    background: linear-gradient(pink 50%, cyan 50%);
}

Code Example 4

background: linear-gradient(to left, #333, #333 50%, #eee 100%);

Code Example 5

background: linear-gradient(to left, red, blue);

Code Example 6

.foo {
	background-image: linear-gradient(red, blue);
}

Learn ReactJs, React Native from akashmittal.com