-1
我設計了一些CSS按鈕,它們看起來很棒,但是當我在手機上打開頁面時,它們看起來很可怕。人們通常如何在所有設備上維護CSS中的按鈕樣式?CSS桌面/移動按鈕樣式
這裏是我的,在瀏覽器看起來很不錯的按鍵代碼:
input[type="button"]
{
width: 416px;
border: none;
color: #fff;
font-size: 1em;
padding: .5em;
margin: 5px 0 5px 0;
border-radius: 3px;
font-weight: bold;
line-height: 40px;
background: #00aeff;
}
input[type="button"]:hover
{
background: #00a0db;
}
但是這是它本來的樣子上移動不同的頁面。
定義 「可怕」?還有一些代碼,也許是一個[小提琴](http://jsfiddle.net),它顯示了正在發生的事情將是有用的。 – PeeHaa