In the eyes of a CSS attacker, I am afraid the IE series is compatible.The worst browser, especiallyIE6. However, I found that Google's Chrome browser is also difficult to solve, but it is a small detail. I don't know if you have ever encountered it.
1. fonts below 12 PX are not supported by default. I don't know what Google's nerves are. If you set the font-size: 10px somewhere, chrome won't change, or 12px.
Solution:
1 . Content{-WebKit-text-size-adjust:None;}/*Add the following to the small text style:*/
2. placeholder text color. Placeholder is a new attribute of html5. it is used for text box prompts, instead of using value + script. If your prompt text needs to change the font color, chrome must add another sentence to achieve it, as shown below:Code:
1 . Input_text{Color:# Fff;}2 . Input_text:-WebKit-input-placeholder{Color:# Fff;}/*Add another sentence to chrome.*/
Author: front-end group