0
我在iphone中使用enyo按鈕....問題是,當我點擊按鈕導航時,黑色出現在按鈕上....我不知道是否是陰影或邊框顏色和背景顏色....我想刪除這個... plz幫助我....當用戶點擊按鈕時出現在按鈕上的黑色顏色
my code goes here
.onyx-Button2 {
outline: 0;
color: #FFFFFF;
font-size: 16px;
text-align: center;
white-space: nowrap;
margin: 0;
padding: 1px 1px;
overflow: hidden;
border-radius: 3px;
/* for IE8 */
border: 1px solid #777;
border: 1px solid rgba(15, 15, 15, 0.2);
/*
The border and the gradient interact in a strange way that
causes the bottom-border (top if the gradient is aligned top)
to be lighter than other borders.
We can fix it by using the darker bottom border below, but
then there are a few rogue pixels that end up very dark.
*/
box-shadow: inset 0px 1px 0px rgba(255,255,255,0.2);
background: #E1E1E1 url(../../images/gradient.png) repeat-x bottom;
background-size: contain;
text-overflow: ellipsis;
}
看不到任何問題http://jsfiddle.net/mpqVG/你的懸停或活動事件的CSS是什麼? –
CSS爲懸停和活動內容是如下 .onyx-將Button2:懸停{ \t文字修飾:無; } .onyx-Button2:active { \t text-decoration:none; }黑色只出現在IOS設備(但不是在Android中)... PLZ幫助我.... – Sreepad