-1

Picture

How can I hide the square border around the button, thanks... and happy new year! -my code for button

.btn-custom {
border-radius: 20px;
background-image: linear-gradient(to right,yellow,red,yellow);
margin: 13px auto;
padding: 10px;
color: white;
border: hidden;
}

.btn-custom:hover {
background-image: linear-gradient(to right,red,yellow,red);

}
Noname
  • 155
  • 1
  • 12

2 Answers2

2

Use the outline property set to none in this way:

.btn-custom{
    outline: none;
}

This will remove the blue border

0

Check this script

.btn-custom {
border: none;
    outline: none;
}