欢迎各位兄弟 发布技术文章
这里的技术是共享的
position: fixed; top: 0;/*如果没有top top的默认值应该是0*/ width: 100%; height: 100%; z-index: 3; /*这里 没有 left 那么 相当于父元素 应该是居中中的 */ /*background: rgba(0,0,0,0.5);*/ }