Find all block elements in an HTML document using JavaScript and set a :hover CSS style on them?

后端 未结 0 1457
难免孤独
难免孤独 2020-12-18 03:20

I\'m fetching a whole HTML document using and pasting it in my webpage. In this document, I want to select all block elements and set a hover style on them like this CSS:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题