Element with Left 100% overlaps Container Border

.container {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 60vmin;
    height: 20vmin;
    outline: 0.5vmin solid black;
}
.arrow {
    position: absolute;
    width: 1vmin;
    height: 80%;
    left: 100%;
    background: red;
}

Hey, I'd like to be able to use percentages to move the red arrow around using JS. However giving it the property Left: 100% seems to overlap the border of my container. Could someone help me out with this?
unknown.png
Was this page helpful?