Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove glow from button

How can I remove the glow around the button? I can't seem to find it here. The code has been copied from other resources. Thank you.

<div class="row clearfix">
   <div id='media-controls' style="width:100%; height:60px; text-align:center;">
   <button id='play-pause-button' title='play' onclick='togglePlayPause();'>Play</button>
    </div>
</div>

My CSS:

button {
    width:100px;
    height:50px;
    border:0px;
    cursor:pointer;
}

.pause { background-position:-19px 0; }
.stop { background-position:-38px 0; }
.volume-plus { background-position:-57px 0; }
.volume-minus { background-position:-76px 0; }
.mute { background-position:-95px 0; }
.unmute { background-position:-114px 0; }
.replay { background-position:-133px 0; }

http://jsfiddle.net/XEWhk/413/

like image 825
user3243135 Avatar asked Jan 30 '14 06:01

user3243135


2 Answers

In order to remove the glow around the button you can use the following css:

box-shadow:none;
like image 64
Edeeson Opina Avatar answered Oct 14 '22 18:10

Edeeson Opina


You'll have to add this to the button:

outline: 0;

Fiddle

like image 31
Vince C Avatar answered Oct 14 '22 17:10

Vince C