Я не уверен на 100%, что это отвечает на ваш вопрос, но вот мое мнение. Мне пришлось внести некоторые изменения в ваш css, потому что классы boxImage немного его отбрасывали. Я установил цвет фона для этих элементов, чтобы вы могли видеть, где они лежат на экране.
app.component. html
<div class="col-md-6 col-sm-12">
<div class="d-flex justify-content-center p-2"><img src="https://material-components-web.appspot.com/images/photos/2x3/2.jpg"></div>
<div class="d-flex justify-content-center mb-3">
<div class="p-2 boxImage1">Flex item 1</div>
<div class="p-2 boxImage">Flex item 2</div>
</div>
app.component. css
.drop {
height: 670px;
border-radius: 8px;
overflow: hidden;
text-align: center;
background: #eff0f2;
position: relative;
top: 0;
left: 0;
bottom: 0;
right: 0;
margin-left: 8px;
margin-right: 8px;
}
.abc {
height: 100%;
background-image: ('https://material-components-web.appspot.com/images/photos/2x3/2.jpg');
}
.abc .boxImage {
position: absolute;
right: 27px;
bottom: 40px;
}
.abc .boxImage1 {
position: absolute;
right: 373px;
bottom: 0px;
}
.boxImage {
background-color: red;
background-repeat: no-repeat;
height: 50px;
width: 60%;
border-radius: 8px;
opacity: 1;
font-size: 18px;
}
.boxImage1 {
background-color: yellow;
background-repeat: no-repeat;
height: 50px;
border-radius: 8px;
opacity: 1;
font-size: 18px;
z-index: 1001;
}