#Want text and image to be clearly visible but keep card background the same.
23 messages ยท Page 1 of 1 (latest)
Bump, any suggestions?
You did not ask any question
Fair point. The text on my card is almost invisible. Iโd like for it to be clearly visible.
And the image is being cropped by the wrapper
How could I fix this?
send a sandbox
Sorry this is taking longer than I thought to get a sandbox working the same as my localhost...
Will post when I can!
I haven't used this before - are you able to edit this @rustic escarp
I'm not sure what I'm doing wrong but can't seem to figure it out..
Please use the template โ https://codesandbox.io/s/mantine-template-9ze89?file=/src/App.tsx:0-6
Next.js sandboxes are very hard to work with
Hope that's ok
It seems the ```js
WebkitMaskBoxImage:
"-webkit-gradient(linear,left bottom,right top,from(transparent),color-stop(.5,rgba(0,0,0,.2)),to(#000));",
Is causing the issue by masking over the div and hiding the text. But I'm not sure if there is a way to achieve the same look otherwise.
You're freakishly good, what about the image getting stuck contained inside?
and when I say freakishly good, what did I do wrong
๐
Add absolute position to it if you want it to overflow the container
The jug (image) already has position absolute
@rustic escarp I'm also unsure how to using 'createStyles/useStyles' to do things on group hover
Hopefully there's an example of that