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

Code Example 1

/* Answer to: css image effects */

/*
  The best way to make your images have cool effects is by using the CSS
  filter property! Here's a little guide to help you on that:
  https://www.w3schools.com/howto/howto_css_image_effects.asp
*/

Learn ReactJs, React Native from akashmittal.com