google / material-design-lite

Material Design Components in HTML/CSS/JS
https://getmdl.io
Apache License 2.0
32.27k stars 5.04k forks source link

Two Card Components #5252

Open rajkopodinic opened 5 years ago

rajkopodinic commented 5 years ago

Im Currently using MDL v1.3 and I'm experiencing a small problem.

The problem has to do with the Card components. I'm trying to place more than one Card component on my html page but the background photo is the same for all Cards?

I cant seem to figure out how to distinguish the styles so that each card can have a different photo as the background? Please see code below:

www.rajko.com.au/code.html

aburai commented 5 years ago

I can't see any cards on your page.

But i guess: set individual class to each card and modify your css.