Hello I have one div with background image and border-bottom image. I want to make it responsive. I have to give fix height to that div so when I make it responsive image get responsive but the distance between border and image increase. This is my code.
.top-info {
  background: url("https://i.stack.imgur.com/prA95.jpg") no-repeat top center;
  height: 40rem;
  background-size: contain;
  border-bottom: 10px solid transparent;
  border-image: url("bg-about-us_border.png") 30 stretch;
  -webkit-border-image: url("https://i.stack.imgur.com/SUUpP.png") 30 stretch;
}<div class="top-info"></div>My Problem is that it is working good in full width. But in different mobile resolution the distance between border-bottom and image is increase.
 
     
     
    