image
image copied to clipboard
fit="content black background
This is the code:
<nuxt-img alt="" fit="contain" height="300" src="images/iphone-clay.png" width="100" />
And this is the result:
The remaining space is filled with black color. How can I make this transparent?
Same here, this needs to be fixed.
did you ever figure this one out? to get it to be transparent
Kind of. I ended up passing a background modifier prop to NuxtPicture with a transparent colour:
''' :modifiers="{ b: '#00000000' }" '''