摘要:
``` html ``` ``` css .close { position: relative; width: 40px; height: 40px; } .close::before, .close::after { position: absolute; content: ' '; background-color: red; left: 20px; width: 1px; height: 阅读全文
摘要:
A 页面 B 页面 阅读全文
摘要:
粘性布局,在移动端浏览器上顶部会有一条空隙。 用一个不对盒模型尺寸、位置产生任何影响的 1 像素高的阴影来覆盖掉这个缝隙。 阅读全文