Why is the <div> with position-absolute and start-100 positioned outside the container?
13 Replies
what is start-100 supose to be?
you are just stating where the absolutely position element should start there is nothing to prevent it from overflowing
@Mannix its a bootstrap class that got translate to `left:100;"
well, because you say it has to start 100% from the left of the container.
so that is right of the container
what you expected to happen ??
I'm guessing you wanted to put the text in the top right corner?
so its suppose to be
right:0%
correct?yeah try end-0 instead of start-100 🙂 or right: 0;
in most cases don't like to use the bootstrap positioning classes specially the in part of re positioning like end start ,buttom , top
i have some conflicts regarding left and right, where do any of them starts when i set
right:0%
this means start from the left and when i use right:100%
this means start from the right is that correct ?with
left
the left edge of the element will start n-amount from the left side of the container.
with right
the right edge of the element will start n-amount from the right side of the containerthe secound one will start from right and move to the right
so in case of the relative its better to us
rem
or px
if i am using it alonedepends on what you want, im just pointing out from where the position is calculated
@MarkBoots @Mannix thank you