As the Web Front-end knows, there are three sources of CSS
1. User Agent stylesheet default CSS user agent (that is, the default CSS browser, http://www.cnblogs.com/xesam/archive/2011/12/01/2270553.html)
Ii. Author style sheets CSS defined by developers (external-style, Embeded-style, inline-style written by front-end developers)
3. User style sheets custom CSS (written by the user)
Priority increases from top to bottom
User Agent stylesheet
User declarations (normal)
Author declarations (normal)
Author declarations (! Important)
User declarations (! Important)
The first two methods may be used more often, and the third method won't be set by the average person, but developers won't set them. However, as a learning method, When you personalize your browser or the whole person, it can be used.
It is best to add it during testing! The suffix of important.
Firefox:
Menu-> help-> troubleshooting information-> application basics-> open the folder
Will open the style sheet like Firefox \ profiles \ templates, define your own CSS in it, and restart Firefox to take effect (this is also the most speechless place in Firefox)
Chrome:
For win7 users, the User-Defined style sheet is in the form of c: \ Users \ Xe \ appdata \ Local \ google \ chrome \ User Data \ Default \ User partition, write custom CSS. For chrome, it can take effect immediately, and refreshing is free of charge.
Opera:
Menu> Settings> preferences> advanced> content> style options> my style sheets
It seems that you don't need to restart, but restart the system to make sure that you have enough insurance.
IE:
Menu> Internet Options> General> auxiliary functions
In the example of ie9, the setting takes effect immediately, but it is different from that of chrome to save CSS files.
Safari (WIN ):
Menu (settings)-> preference settings-> style sheet
Save and take effect.
reprinted please indicate from the West Hills [http://www.cnblogs.com/xesam/]
address: http://www.cnblogs.com/xesam/archive/2011/12/08/2280707.html