mkhairi / materialize-sass

Materializecss rubygem for Rails Asset Pipeline / Sprockets
http://materialize.labs.my/
MIT License
805 stars 243 forks source link

Parallax Modal - best practices #98

Closed rubendinho closed 8 years ago

rubendinho commented 8 years ago

I am using a large image (2000 x 1333) with Parallax, but the parallax effect is only showing a small piece of it.

Is there a way to control the scaling of the the Parallax image effect using CSS?

Thanks

mkhairi commented 8 years ago

try add some css on your background class

background-size: cover;

btw, you should ask this question at materialize official materialize repo. Large community in there. thanks.

rubendinho commented 8 years ago

That doesn't help but I will try the official repo which is where I should have posted this anyway. Thanks!