Does anyone know how to implement a background image with linear gradients in CSS? Here is the code snippet I have:
.main-bg-back-1{
background:linear-gradient(180deg,#22263f,rgba(33,41,94,.96)),url(../img/app/download-bg.jpg) no-repeat;
background-size:auto,cover;
background-position:0 0,50% 50%
}
I am working with Rails 5 and typically use
background-image: image-url("app/download-bg.jpg");
for simple backgrounds. How can I integrate both the image and gradients together in Rails?