Ionic 2 how to set background img in button

I want to set image in button in which text place in the center of button and image is at the right end of button

You can add a class to your button and style it all in CSS.

Here is a quick example:

<button class="yourButton">Your Text<button>


.yourButton {
   background: url('../your/Image/URL/myimage.png');
   text-align: center;
   background-size: cover;

Also check this this link out it will help you understand CSS better!

Hope this helps you out! :blush::bird:

Thnx @cherry :slight_smile: