css3 - CSS desktop/mobile button styling -


i styled css buttons, , great, when open page on mobile, hideous. how 1 typically maintain styling of buttons in css across devices?

here's code buttons looked in browser:

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; } 

but looked on different pages on mobile. image

there no magic bullet. make sure styles have proper platform-specific directives (ie -webkit-) and, importantly, supported on platforms acting up.


Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

How to mention the localhost in android -

php - Calling a template part from a post -