我想实现像https://mmenujs.com/这样漂亮的菜单
但我注意到它在google pages speed:引起了新的警告
避免过多的DOM大小 - 959个节点
这些节点是什么以及如何修改插件以消除此警告?
我认为这是一行代码,例如,一个html元素,例如......
https://developers.google.com/web/fundamentals/performance/rendering/reduce-the-scope-and-complexity-of-style-calculations