Can different elements be positioned on the BootstrapVue Carousel slide without restrictions, such as in any corner or position?
I have attempted to accomplish this by nesting additional elements within
<b-carousel-slide></b-carousel-slide>
tags.
However, it appears that all these elements end up inside the div.carousel-caption
and I am unable to move them outside of that div.
I want to place buttons in the top-right and bottom-left corners of the carousel-slide, but every attempt leads to results like this:
https://i.stack.imgur.com/S2S6K.png
As shown, all elements are contained within the caption div...
I have three queries:
- How can I achieve my objective and place elements in different corners of the carousel slide?
- Is it feasible to freely add elements to the carousel slide, but outside of the caption div?
- How do I relocate the entire caption div and indicators to the top of the carousel slide?
My code:
<b-carousel
id="story-carousel"
controls
indicators
:interval = "3000"
>
<b-carousel-slide
text="asdasdasdsa"
img-src="https://picsum.photos/1024/480/?image=10">
<b-link>
LINK
</b-link>
<b-avatar size="md" variant="primary" icon="bookmark-heart" class="ml-2 highlight-button" button
</b-avatar>
</b-carousel-slide>
</b-carousel>
And CSS:
.highlight-button{
position: absolute;
top: 0;
right: 0;
}