PHPz2017-04-17 11:40:06
In the Developer Tools of the chrome browser, there is an audit option.
Click the run button, and you can find a Remove unused CSS rules< in the results. 🎜>, click on it and you will see a lot of current useless css rules.
useless here is relative. Many rules may only take effect after certain elements are clicked or an event is triggered, so manual screening is still required.