Hello,

I am currently doing an assignment for university and I have encountered a problem that I don’t know how to fix.

I am using vue, vue-material and vue material kit. While using md-card and md-card-media-cover I want to use the prop md-text-scrim, but it doesn’t apply the gradient background on top of the picture.

What I get is this:

r/webdev - [Question] Problem with vue-material and md-card

What I want is this:

r/webdev - [Question] Problem with vue-material and md-card

Code:

r/webdev - [Question] Problem with vue-material and md-card

Devtools of my code:

r/webdev - [Question] Problem with vue-material and md-card

Only thing that I found in relation to my problem is this, and I have to admit I don’t understand the proposed workaround.

You may also look at the devtools yourself here or the code on github.

Thank you in advance for your input.



Source link

Write A Comment