How can I hide the square border around the button [duplicate]

98
January 01, 2020, at 9:20 PM
This question already has answers here:
How do you remove the blue border of an image map? (2 answers)
Closed yesterday.

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);
}
Answer 1

Use the outline property set to none in this way:

.btn-custom{
    outline: none;
}

This will remove the blue border

Answer 2

Check this script

.btn-custom {
border: none;
    outline: none;
}
READ ALSO
parallax scroll effect getting laggy

parallax scroll effect getting laggy

i wrote a script that basically gives the topper element a negative margin bottom, so it makes the element below it go up and it kind of makes a parallax like scroll, my problem is i wrote the function as a scroll and i think the function runs so much that it makes the page kind of laggy,...

68
Spider Error Processing - Python Web Scraping Error

Spider Error Processing - Python Web Scraping Error

I am new to Python and very new to web scraping, but I am trying to build a web scraper for this site: https://wwwfortune

111
Merging HTML & JavaScript

Merging HTML & JavaScript

I'm editing a section of an open source web-pageIt gives logos of companies

73
How can I access BrowserView objects in html or css?

How can I access BrowserView objects in html or css?

I'm currently working on an ElectronJS app where I create a browserWindow object using:

75