摘要:
day28 获取属性 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> .ip{ color: rgba(0,0,0,0.4); } .hide{ display: 阅读全文
摘要:
scrollTop 滚动条距离顶部的高度 scrollHeight 文档高度:自身+padding clientTop 边框高度 clientHeight 可见范围的高度:自己+padding offsetTop 当前标签距离‘顶部’ or 距离定位标签高度 offsetHeight 可见范围高度: 阅读全文