Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make button to look as label?

Tags:

html

css

FIDDLE

.TitleBtn
{
 border: none;
 background:none;
}

Click on the button and check. It ll show a blue border around it. I think it's input type buton's behaviour. I want to remove it. How to do it??

like image 852
Gibbs Avatar asked Dec 20 '22 12:12

Gibbs


1 Answers

Try adding this css to the button:

outline: none; 

Your overall css would be:

.TitleBtn
{
 border: none;
 background:none;
 outline: none;
}
like image 116
Faiz Ahmed Avatar answered Jan 14 '23 12:01

Faiz Ahmed