Does not fit until the end of the content
.button_name { position: absolute; top: 115px; right: 0; line-height: 56px; padding-left: 25px; min-width: 162px; -webkit-border-radius: 10px; border-radius: 10px; color: #fff; letter-spacing: 1px; font-family: Interface-bold, sans-serif; background: url(https://i.imgur.com/W94Hceq.png) no-repeat; -webkit-box-sizing: border-box; box-sizing: border-box; } .button_name::before { content: ''; display: inline-block; position: absolute; height: 15px; width: 15px; top: 50%; right: 19px; background: url(https://i.imgur.com/vrHcNuM.png) no-repeat; -webkit-transform: translate3d(0, -50%, 0); transform: translate3d(0, -50%, 0); } <a href="#" class="button button_name">Deposit 100500</a>