I was including an Image Component into a Container. When I am now giving the Container a Border the Image in the Container is always above the Border. See screenshot. I played around with Z-Index but the result stays the same. Is that as it should be? Or a bug?
Hi @maxken thanks for your suggestions! I tried them all and they are working well.
@dan although the suggestions of Ken are working, is this really as it should be? The container on top should always have the lead and when there is an option for a border, the border should be visible and not below the sub-component. It took me nearly an hour to recognise that there is a border on the container but it is below the picture (the picture originally was set to fill the container in width and height, so the picture was completely covering the border of the container).
ok another option is to use use the border on the container as intended, on the image component set the same size border and set the opacity of the image border to 0
not tried, but as long they are the size should be ok?
not sure if this is the question / answer, I assume if it just the left righ tborders you want you would just set them, maybe something else you are asking not this
What I want to achieve is a kind of “Bento-Gallery”. You can have a look at the below website:
The images are in a container and have a hover “zoom effect”. What I want to achieve is an additional “photo frame” around the pictures. The “photo frame” should not zoom - therefore I thought a border around the container would be the right way, but learned it isn’t.