A, its – tap – highlight – color

This property is only available for iOS (iPhone and iPad). When you click on a link or a clickable element defined in Javascript, it appears with a translucent gray background. To reset this representation, you can set -webkit-tap-highlight-color to any color.

To disable this highlighting, set the color’s alpha value to 0.

Example: Set the high light color to 50% transparent red:

– its – tap – highlight – color: rgba (255,0,0,0.5);

Browser support: iOS only (iPhone and iPad).

Css3 中-webkit-text-size-adjust

HTML {-webkit-text-size-adjust: None; HTML {-webkit-text-size-adjust:none; }

2, -webkit-text-size-adjust on the body will cause the page to fail to scale

3. The body inherits the style defined in HTML

4, use -webkit-text-size-adjust do not define inheritable or global

3. Outline: None

(1) The purpose of defining this style for a label on PC is to remove the dotted line when clicking a label in Internet Explorer. Ie7 and below do not yet recognize this attribute, so add hidefocus=”true” to the A tag.

(2) Input, textarea{outline: None} Unfocus the default text box in Chrome

This will not work on mobile devices. To remove the default style of the textbox, use -webkit-appearance. The default style will be removed when in focus: -webkit-tap-highlight-color See some mobile terminal reset file with this property, in fact, is redundant.

Webkit-appearance -appearance: none;

Remove the native appearance of input fields and buttons and add this property on iOS to give them a custom style. Note: Inputs of different types behave differently with this attribute. Text, button no style, radio, checkbox disappear directly

-webkit-user-select -webkit-user-select: none; -webkit-user-select: none;

Disallow page text selection. This property is not inherited and is generally applied to the body to ensure that the entire body text is not automatically adjusted

Six, – its – touch – the callout – its – touch – the callout: none.

// Disable long press popup menu (on iOS),img and a tags should be added

Original article: www.cnblogs.com/Bobo999/p/9…