Sunday, 8 October 2017

Remove blue border from css custom-styled button in Chrome

itemprop="text">

I'm working on a web page, and I want
custom-styled

class="post-text" itemprop="text">
class="normal">Answer



Just add
this to your css:



button:focus
{outline:0;}


Check it
out or JSFiddle: rel="noreferrer">http://jsfiddle.net/u4pXu/




Or
in this snippet:



data-hide="false" data-console="true" data-babel="false">
class="snippet-code">
button.launch {
background-color:
#F9A300;
border: none;
height: 40px;
padding: 5px
15px;

color: #ffffff;
font-size:
16px;
font-weight: 300;
margin-top: 10px;
margin-right:
10px;
}

button.launch:hover {
cursor:
pointer;
background-color:
#FABD44;

}

button.launch
{
background-color: #F9A300;
border: none;
height:
40px;
padding: 5px 15px;
color: #ffffff;
font-size:
16px;
font-weight: 300;

margin-top:
10px;
margin-right: 10px;
}

button.launch:hover
{
cursor: pointer;
background-color:
#FABD44;
}

button.change
{

background-color: #F88F00;
border:
none;
height: 40px;
padding: 5px 15px;
color:
#ffffff;
font-size: 16px;
font-weight: 300;
margin-top:
10px;
margin-right:
10px;
}


button.change:hover
{
cursor: pointer;
background-color:
#F89900;
}

button:active {
outline:
none;
border: none;
}


button:focus
{outline:0;}

 
class="change">Change





No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print ...