The referenced css file, changing the style does not take effect in the browser

1. css syntax error

2. The reason for the browser cache (the previous file style used)


1. css syntax error

Solution: After checking the grammar is correct, save a few more times

2. The reason for the browser cache (the previous file style used)

Solution: Press F12 in the browser to enter the developer mode, as shown below

 Check to disable the cache, refresh the interface to see the style effect

Guess you like

Origin blog.csdn.net/growb/article/details/130347251