📜  css 一个标签 id 选择器滚动得太远 - CSS 代码示例

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

代码示例1
h2::before { 
  display: block; 
  content: " "; 
  margin-top: -285px; 
  height: 285px; 
  visibility: hidden; 
  pointer-events: none;
}