How to remove this square stroke around a plus? I want to change the standard button to such a plus.

.button { background: url('https://cdn1.iconfinder.com/data/icons/interface-elements/32/add-circle-24.png'); background-size: contain; width: 24px; height: 24px; } 
 <button class='button'></button> 

Button photo

3 answers 3

 .button{ background: transparent url('https://cdn1.iconfinder.com/data/icons/interface-elements/32/add-circle-24.png'); background-size: contain; width: 24px; height: 24px; border: 0; outline: none; } 
 <button class="button"></button> 

    border-radius: 50%; in id

      Just zero border and outline

       .button { background: url('https://cdn1.iconfinder.com/data/icons/interface-elements/32/add-circle-24.png'); background-size: contain; width: 24px; height: 24px; border: 0; outline: none; } 
       <button class="button"> </button> 

      • Thanks a lot, it worked) But I am a noob and I have another question right away, how to make it so that when I press it, the same animation in the picture would be worked out as when I clicked on a regular button, or just to change color in css when I click? - Pavel Dulepov
      • Styles, selector .button: active {} - Rogatnev Nikita