📜  document.elementfrompoint - 任何代码示例

📅  最后修改于: 2022-03-11 14:54:57.645000             🧑  作者: Mango

代码示例1
function changeColor(newColor) {
  elem = document.elementFromPoint(1, 2);
  elem.style.color = newColor;
}