1.outline:none
(1) on the PC side of the a tag is defined to remove the dotted line that appears when you click the a tag in IE browser. IE7 and the following browsers do not recognize this property and need to add hidefocus= "true" on the A label
(2) Input,textarea{outline:none} uncheck the default text box focus style under chrome
(3) on the mobile side is not working, want to remove the text box default style can use-webkit-appearance, focus when the default style of cancellation is-webkit-tap-highlight-color. It is superfluous to see some of the mobile reset files added with this attribute.
2.-webkit-appearance
-webkit-appearance:none;//eliminates the native appearance of input boxes and buttons, and adds this property on iOS to customize the style for buttons and input boxes.
Little Hee in just involved in the mobile end, once in the ISO has the default button style planted, at that time no matter how to write style, in the ISO does not work, and later from the online query, only learned that the ISO has the default button and input box style, plus-webkit-appearance:none, You can easily and happily reset the style.
3.-webkit-tap-highlight-color
-webkit-tap-highlight-color:rgba (0,0,0,0);//transparency set to 0, remove the default gray translucent overlay (IOS) or Virtual box (Android) when clicking Links and text box objects
-webkit-tap-highlight-color:rgba (255,0,0,0.5); Use this property to set the transparent red of the link area to 50% when touch is highlighted, only works on iOS. As long as this property is used on Android, it behaves as a border. Add this property on the body to ensure that the body's hit area is consistent
4.-webkit-text-size-adjust-webkit-text-size-adjust:none; Prohibit text automatic resizing (by default, the text size changes when rotating the device), this property does not inherit, generally added to the body of the text will not automatically adjust the body5.-webkit-user-select-webkit-user-select:none; Prohibit page text selection, this property does not inherit, generally added to the body of the text will not automatically adjust the body6.-webkit-touch-callout-webkit-touch-callout:none; Disable pop-up menus when long press a page7.-webkit-overflow-scrolling
-webkit-overflow-scrolling:touch;//Partial Scrolling (iOS 5 + support only
Mobile Default Style Reset