03 2021 档案
摘要:只需要添加 background-size: 100% 100%; 就行 div { background: url(); background-size: 100% 100%; }
阅读全文
摘要:效果 代码如下 <style> div { position: relative; width: 199px; height: 20px; border: 1px solid gray; } div::after { content: ''; position: absolute; top: 5px
阅读全文
摘要:效果 代码如下 <style> .box { position: relative; margin: 100px auto; width: 100px; height: 200px; background: blue; } .box span { position: absolute; left:
阅读全文